#4E2F91#4E2F91

#4E2F91 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.153 H 292.7°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#4E2F91
RGBrgb(78, 47, 145)
HSLhsl(259, 51%, 38%)
HSVhsv(259, 68%, 57%)
CMYKcmyk(46.2%, 67.6%, 0%, 43.1%)
CIE-LABlab(28.63, 37.75, -49.30)
CIE-LCHlch(28.63, 62.09, 307.44°)
OKLaboklab(40.12% 0.059 -0.141)
OKLCHoklch(40.12% 0.153 292.7)
XYZxyz(9.2678, 5.6968, 27.3939)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F91 #72912F
analogous
#2F4191 #4E2F91 #7F2F91
triadic
#4E2F91 #914E2F #2F914E
tetradic
#4E2F91 #912F41 #72912F #2F917F
square
#4E2F91 #912F41 #72912F #2F917F
split-complementary
#4E2F91 #917F2F #41912F
monochromatic
#1C1135 #352063 #4E2F91 #673EBF #8B6BCF

Accessibility & contrast

On white

9.82
#4E2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4E2F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F91
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F91#FFFFFF#000000##FFFFFF
##4E2F911.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#3A475C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e2f91;
/* rgb */ color: rgb(78, 47, 145);
/* oklch */ color: oklch(40.1% 0.153 292.7);
Tailwind
colors: {
  custom: {
    50: '#866ab2',
    500: '#4e2f91',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f91;
$custom-light: #866ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f91",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 258.98,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40115,
    "c": 0.15289,
    "h": 292.7
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#4E2F91
secondary
#9DB665
accent
#DB4DAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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