#4E2E91#4E2E91

#4E2E91 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.154 H 292.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#4E2E91
RGBrgb(78, 46, 145)
HSLhsl(259, 52%, 37%)
HSVhsv(259, 68%, 57%)
CMYKcmyk(46.2%, 68.3%, 0%, 43.1%)
CIE-LABlab(28.43, 38.31, -49.64)
CIE-LCHlch(28.43, 62.71, 307.66°)
OKLaboklab(39.97% 0.0601 -0.142)
OKLCHoklch(39.97% 0.154 292.9)
XYZxyz(9.2283, 5.6177, 27.3807)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E91 #71912E
analogous
#2E4091 #4E2E91 #7F2E91
triadic
#4E2E91 #914E2E #2E914E
tetradic
#4E2E91 #912E40 #71912E #2E917F
square
#4E2E91 #912E40 #71912E #2E917F
split-complementary
#4E2E91 #917F2E #40912E
monochromatic
#1C1134 #351F63 #4E2E91 #673DBF #8B6AD0

Accessibility & contrast

On white

9.89
#4E2E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4E2E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E91
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E91#FFFFFF#000000##FFFFFF
##4E2E911.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#3A465B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e2e91;
/* rgb */ color: rgb(78, 46, 145);
/* oklch */ color: oklch(40.0% 0.154 292.9);
Tailwind
colors: {
  custom: {
    50: '#8669b2',
    500: '#4e2e91',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e91;
$custom-light: #8669b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e91",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 259.394,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39966,
    "c": 0.15422,
    "h": 292.9
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#4E2E91
secondary
#9CB764
accent
#DB4DAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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