#4E1B90#4E1B90

#4E1B90 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.175 H 296.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#4E1B90
RGBrgb(78, 27, 144)
HSLhsl(266, 68%, 34%)
HSVhsv(266, 81%, 56%)
CMYKcmyk(45.8%, 81.3%, 0%, 43.5%)
CIE-LABlab(25.00, 47.43, -54.61)
CIE-LCHlch(25.00, 72.34, 310.98°)
OKLaboklab(37.52% 0.0781 -0.1565)
OKLCHoklch(37.52% 0.175 296.5)
XYZxyz(8.5665, 4.4170, 26.7814)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B90 #5D901B
analogous
#1B2290 #4E1B90 #881B90
triadic
#4E1B90 #904E1B #1B904E
tetradic
#4E1B90 #901B22 #5D901B #1B9088
square
#4E1B90 #901B22 #5D901B #1B9088
split-complementary
#4E1B90 #90881B #22901B
monochromatic
#160829 #32115C #4E1B90 #6A25C4 #8949DD

Accessibility & contrast

On white

11.15
#4E1B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4E1B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1B90
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B90#FFFFFF#000000##FFFFFF
##4E1B901.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#3C3C56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e1b90;
/* rgb */ color: rgb(78, 27, 144);
/* oklch */ color: oklch(37.5% 0.175 296.5);
Tailwind
colors: {
  custom: {
    50: '#875eb2',
    500: '#4e1b90',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b90;
$custom-light: #875eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b90",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 266.154,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37519,
    "c": 0.17491,
    "h": 296.5
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#4E1B90
secondary
#8BBF48
accent
#EB3D9F
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E1B90

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

Preview Lab → · Contrast checker → · Palette generator →

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