#4E2E99#4E2E99

#4E2E99 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.164 H 291.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#4E2E99
RGBrgb(78, 46, 153)
HSLhsl(258, 54%, 39%)
HSVhsv(258, 70%, 60%)
CMYKcmyk(49%, 69.9%, 0%, 40%)
CIE-LABlab(29.09, 40.64, -53.47)
CIE-LCHlch(29.09, 67.16, 307.24°)
OKLaboklab(40.65% 0.0589 -0.1533)
OKLCHoklch(40.65% 0.164 291)
XYZxyz(9.8670, 5.8732, 30.7446)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E99 #79992E
analogous
#2E4499 #4E2E99 #842E99
triadic
#4E2E99 #994E2E #2E994E
tetradic
#4E2E99 #992E44 #79992E #2E9984
square
#4E2E99 #992E44 #79992E #2E9984
split-complementary
#4E2E99 #99842E #44992E
monochromatic
#1E123B #36206A #4E2E99 #673FC5 #8C6ED3

Accessibility & contrast

On white

9.66
#4E2E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4E2E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E99
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E99#FFFFFF#000000##FFFFFF
##4E2E991.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#364960
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e2e99;
/* rgb */ color: rgb(78, 46, 153);
/* oklch */ color: oklch(40.6% 0.164 291.0);
Tailwind
colors: {
  custom: {
    50: '#8769b8',
    500: '#4e2e99',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e99;
$custom-light: #8769b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e99",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 257.944,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40649,
    "c": 0.16418,
    "h": 291
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#4E2E99
secondary
#A2BB68
accent
#DD4BB1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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