#4E2CAE#4E2CAE

#4E2CAE is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.192 H 287.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#4E2CAE
RGBrgb(78, 44, 174)
HSLhsl(256, 60%, 43%)
HSVhsv(256, 75%, 68%)
CMYKcmyk(55.2%, 74.7%, 0%, 31.8%)
CIE-LABlab(30.58, 47.79, -63.72)
CIE-LCHlch(30.58, 79.65, 306.87°)
OKLaboklab(42.28% 0.0561 -0.1833)
OKLCHoklch(42.28% 0.192 287)
XYZxyz(11.6803, 6.4764, 40.6708)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2CAE #8CAE2C
analogous
#2C4BAE #4E2CAE #8F2CAE
triadic
#4E2CAE #AE4E2C #2CAE4E
tetradic
#4E2CAE #AE2C4B #8CAE2C #2CAE8F
square
#4E2CAE #AE2C4B #8CAE2C #2CAE8F
split-complementary
#4E2CAE #AE8F2C #4BAE2C
monochromatic
#22134C #38207D #4E2CAE #6B47D0 #9278DD

Accessibility & contrast

On white

9.15
#4E2CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4E2CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2CAE
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2CAE#FFFFFF#000000##FFFFFF
##4E2CAE1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#24506B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e2cae;
/* rgb */ color: rgb(78, 44, 174);
/* oklch */ color: oklch(42.3% 0.192 287.0);
Tailwind
colors: {
  custom: {
    50: '#8a69c7',
    500: '#4e2cae',
    950: '#000000',
  },
}
SCSS
$custom: #4e2cae;
$custom-light: #8a69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2cae",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 255.692,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42284,
    "c": 0.19172,
    "h": 287
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#4E2CAE
secondary
#AFC571
accent
#E345BA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E2CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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