#4E47CD

A color in the Violet family

#4e47cd is a color in the Violet family: RGB(78, 71, 205), HSL(243°, 57%, 54%), CMYK(62%, 65%, 0%, 20%). Closest named color: slateblue. Contrast is 6.76:1 on white and 3.11:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e47cd
RGBrgb(78 71 205)
RGB (legacy)rgb(78, 71, 205)
RGB %rgb(31% 28% 80%)
HSLhsl(243 57% 54%)
HSV / HSBhsv(243, 65%, 80%)
HWBhwb(243 28% 20%)
CMYKcmyk(62%, 65%, 0%, 20%)
CIELAB (D50)lab(37.69 34.38 -70.01)
LCHlch(37.69 77.99 296.15)
OKLaboklab(0.4899 0.0291 -0.1975)
OKLCHoklch(0.4899 0.1996 278.38)
Decimal5130189

Properties

Color ToneViolet
Closest named colorslateblue ΔE 6.5
Closest web-safe color#6633cc
Hue243°
Saturation (HSL / HSV)57% / 65%
Lightness (HSL)54%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)35% / 32%
Relative luminance (WCAG)0.1053
Red / Green / Blue78 / 71 / 205

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 82.7 / -19.2 · As background with white / black text: Lc -87.7 / 21.3

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: #4e47cd;
  --color-brand-oklch: oklch(48.99% 0.1996 278.38);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 71 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e47cd] text-[#4e47cd] border-[#4e47cd]">