#4635C4

A color in the Violet family

#4635c4 is a color in the Violet family: RGB(70, 53, 196), HSL(247°, 57%, 49%), CMYK(64%, 73%, 0%, 23%). Closest named color: darkslateblue. Contrast is 8.18:1 on white and 2.57:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4635c4
RGBrgb(70 53 196)
RGB (legacy)rgb(70, 53, 196)
RGB %rgb(27% 21% 77%)
HSLhsl(247 57% 49%)
HSV / HSBhsv(247, 73%, 77%)
HWBhwb(247 21% 23%)
CMYKcmyk(64%, 73%, 0%, 23%)
CIELAB (D50)lab(32.39 40.62 -73.48)
LCHlch(32.39 83.96 298.93)
OKLaboklab(0.449 0.0332 -0.2071)
OKLCHoklch(0.449 0.2098 279.12)
Decimal4601284

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 9.4
Closest web-safe color#3333cc
Hue247°
Saturation (HSL / HSV)57% / 73%
Lightness (HSL)49%
Brightness or Value (HSV)77%
Luminance (Rec.601 / Rec.709)29% / 26%
Relative luminance (WCAG)0.0783
Red / Green / Blue70 / 53 / 196

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.18:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.57:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 87.4 / -14.7 · As background with white / black text: Lc -92.1 / 16.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #4635c4;
  --color-brand-oklch: oklch(44.9% 0.2098 279.12);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(70 53 196 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4635c4] text-[#4635c4] border-[#4635c4]">