#4E2E9A#4E2E9A

#4E2E9A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.165 H 290.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#4E2E9A
RGBrgb(78, 46, 154)
HSLhsl(258, 54%, 39%)
HSVhsv(258, 70%, 60%)
CMYKcmyk(49.4%, 70.1%, 0%, 39.6%)
CIE-LABlab(29.18, 40.93, -53.94)
CIE-LCHlch(29.18, 67.71, 307.19°)
OKLaboklab(40.74% 0.0587 -0.1547)
OKLCHoklch(40.74% 0.165 290.8)
XYZxyz(9.9500, 5.9064, 31.1814)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E9A #7A9A2E
analogous
#2E449A #4E2E9A #842E9A
triadic
#4E2E9A #9A4E2E #2E9A4E
tetradic
#4E2E9A #9A2E44 #7A9A2E #2E9A84
square
#4E2E9A #9A2E44 #7A9A2E #2E9A84
split-complementary
#4E2E9A #9A842E #449A2E
monochromatic
#1E123C #36206B #4E2E9A #673FC6 #8D6FD4

Accessibility & contrast

On white

9.63
#4E2E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4E2E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E9A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E9A#FFFFFF#000000##FFFFFF
##4E2E9A1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#354960
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e2e9a;
/* rgb */ color: rgb(78, 46, 154);
/* oklch */ color: oklch(40.7% 0.165 290.8);
Tailwind
colors: {
  custom: {
    50: '#8769b9',
    500: '#4e2e9a',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e9a;
$custom-light: #8769b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e9a",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 257.778,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40736,
    "c": 0.16542,
    "h": 290.8
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#4E2E9A
secondary
#A3BB69
accent
#DD4AB2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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