#4E2AC1#4E2AC1

#4E2AC1 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.9% C 0.215 H 284.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4E2AC1
RGBrgb(78, 42, 193)
HSLhsl(254, 64%, 46%)
HSVhsv(254, 78%, 76%)
CMYKcmyk(59.6%, 78.2%, 0%, 24.3%)
CIE-LABlab(32.09, 54.19, -72.51)
CIE-LCHlch(32.09, 90.52, 306.77°)
OKLaboklab(43.9% 0.0523 -0.209)
OKLCHoklch(43.9% 0.215 284.1)
XYZxyz(13.5925, 7.1250, 51.1007)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2AC1 #9DC12A
analogous
#2A51C1 #4E2AC1 #992AC1
triadic
#4E2AC1 #C14E2A #2AC14E
tetradic
#4E2AC1 #C12A51 #9DC12A #2AC199
square
#4E2AC1 #C12A51 #9DC12A #2AC199
split-complementary
#4E2AC1 #C1992A #51C12A
monochromatic
#25145C #3A1F8F #4E2AC1 #704FD9 #9982E4

Accessibility & contrast

On white

8.66
#4E2AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E2AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2AC1
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2AC1#FFFFFF#000000##FFFFFF
##4E2AC11.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C5
Deuteranopia (green-blind)
#0047BE
Tritanopia (blue-blind)
#005775
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e2ac1;
/* rgb */ color: rgb(78, 42, 193);
/* oklch */ color: oklch(43.9% 0.215 284.1);
Tailwind
colors: {
  custom: {
    50: '#8d69d5',
    500: '#4e2ac1',
    950: '#000000',
  },
}
SCSS
$custom: #4e2ac1;
$custom-light: #8d69d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2ac1",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 254.305,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43895,
    "c": 0.21546,
    "h": 284.1
  },
  "luminance": 0.07126
}

Semantic roles & 50–950 ramp

primary
#4E2AC1
secondary
#B9CD7A
accent
#E741C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4E2AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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