#4E2AC9#4E2AC9

#4E2AC9 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.224 H 282.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4E2AC9
RGBrgb(78, 42, 201)
HSLhsl(254, 65%, 48%)
HSVhsv(254, 79%, 79%)
CMYKcmyk(61.2%, 79.1%, 0%, 21.2%)
CIE-LABlab(32.90, 56.44, -75.86)
CIE-LCHlch(32.90, 94.55, 306.65°)
OKLaboklab(44.7% 0.05 -0.2188)
OKLCHoklch(44.7% 0.224 282.9)
XYZxyz(14.5092, 7.4917, 55.9285)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2AC9 #A5C92A
analogous
#2A55C9 #4E2AC9 #9E2AC9
triadic
#4E2AC9 #C94E2A #2AC94E
tetradic
#4E2AC9 #C92A55 #A5C92A #2AC99E
square
#4E2AC9 #C92A55 #A5C92A #2AC99E
split-complementary
#4E2AC9 #C99E2A #55C92A
monochromatic
#271564 #3A1F96 #4E2AC9 #7355DB #9D87E6

Accessibility & contrast

On white

8.40
#4E2AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E2AC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2AC9
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2AC9#FFFFFF#000000##FFFFFF
##4E2AC91.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CD
Deuteranopia (green-blind)
#0048C6
Tritanopia (blue-blind)
#005A7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e2ac9;
/* rgb */ color: rgb(78, 42, 201);
/* oklch */ color: oklch(44.7% 0.224 282.9);
Tailwind
colors: {
  custom: {
    50: '#8f69db',
    500: '#4e2ac9',
    950: '#000000',
  },
}
SCSS
$custom: #4e2ac9;
$custom-light: #8f69db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2ac9",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 201
  },
  "hsl": {
    "h": 253.585,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.447,
    "c": 0.22441,
    "h": 282.9
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#4E2AC9
secondary
#BDD07F
accent
#E83FC2
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4E2AC9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4E2AC9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva