#4E2B99#4E2B99

#4E2B99 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.168 H 291.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4E2B99
RGBrgb(78, 43, 153)
HSLhsl(259, 56%, 38%)
HSVhsv(259, 72%, 60%)
CMYKcmyk(49%, 71.9%, 0%, 40%)
CIE-LABlab(28.50, 42.26, -54.43)
CIE-LCHlch(28.50, 68.91, 307.83°)
OKLaboklab(40.23% 0.0618 -0.1561)
OKLCHoklch(40.23% 0.168 291.6)
XYZxyz(9.7539, 5.6470, 30.7069)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B99 #76992B
analogous
#2B3F99 #4E2B99 #852B99
triadic
#4E2B99 #994E2B #2B994E
tetradic
#4E2B99 #992B3F #76992B #2B9985
square
#4E2B99 #992B3F #76992B #2B9985
split-complementary
#4E2B99 #99852B #3F992B
monochromatic
#1D1039 #361E69 #4E2B99 #673AC8 #8C69D5

Accessibility & contrast

On white

9.86
#4E2B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4E2B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B99
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B99#FFFFFF#000000##FFFFFF
##4E2B991.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#36475F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e2b99;
/* rgb */ color: rgb(78, 43, 153);
/* oklch */ color: oklch(40.2% 0.168 291.6);
Tailwind
colors: {
  custom: {
    50: '#8767b8',
    500: '#4e2b99',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b99;
$custom-light: #8767b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b99",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 259.091,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4023,
    "c": 0.16785,
    "h": 291.6
  },
  "luminance": 0.05647
}

Semantic roles & 50–950 ramp

primary
#4E2B99
secondary
#A0BC64
accent
#DF48AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2B99

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

Preview Lab → · Contrast checker → · Palette generator →

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