#4E2B96#4E2B96

#4E2B96 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.164 H 292.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#4E2B96
RGBrgb(78, 43, 150)
HSLhsl(260, 55%, 38%)
HSVhsv(260, 71%, 59%)
CMYKcmyk(48%, 71.3%, 0%, 41.2%)
CIE-LABlab(28.25, 41.40, -53.01)
CIE-LCHlch(28.25, 67.26, 307.99°)
OKLaboklab(39.97% 0.0624 -0.1519)
OKLCHoklch(39.97% 0.164 292.3)
XYZxyz(9.5092, 5.5491, 29.4183)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B96 #73962B
analogous
#2B3E96 #4E2B96 #832B96
triadic
#4E2B96 #964E2B #2B964E
tetradic
#4E2B96 #962B3E #73962B #2B9683
square
#4E2B96 #962B3E #73962B #2B9683
split-complementary
#4E2B96 #96832B #3E962B
monochromatic
#1D1037 #351D66 #4E2B96 #6739C6 #8B68D4

Accessibility & contrast

On white

9.95
#4E2B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E2B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B96
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B96#FFFFFF#000000##FFFFFF
##4E2B961.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#38465D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e2b96;
/* rgb */ color: rgb(78, 43, 150);
/* oklch */ color: oklch(40.0% 0.164 292.3);
Tailwind
colors: {
  custom: {
    50: '#8667b6',
    500: '#4e2b96',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b96;
$custom-light: #8667b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b96",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 259.626,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39966,
    "c": 0.16423,
    "h": 292.3
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#4E2B96
secondary
#9EBA63
accent
#DF49AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2B96

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

Preview Lab → · Contrast checker → · Palette generator →

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