#4E1A90#4E1A90

#4E1A90 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.176 H 296.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#4E1A90
RGBrgb(78, 26, 144)
HSLhsl(266, 69%, 33%)
HSVhsv(266, 82%, 56%)
CMYKcmyk(45.8%, 81.9%, 0%, 43.5%)
CIE-LABlab(24.86, 47.84, -54.84)
CIE-LCHlch(24.86, 72.78, 311.10°)
OKLaboklab(37.42% 0.0789 -0.1572)
OKLCHoklch(37.42% 0.176 296.6)
XYZxyz(8.5440, 4.3719, 26.7739)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A90 #5C901A
analogous
#1A2190 #4E1A90 #891A90
triadic
#4E1A90 #904E1A #1A904E
tetradic
#4E1A90 #901A21 #5C901A #1A9089
square
#4E1A90 #901A21 #5C901A #1A9089
split-complementary
#4E1A90 #90891A #21901A
monochromatic
#160728 #32115C #4E1A90 #6A23C4 #8947DE

Accessibility & contrast

On white

11.20
#4E1A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4E1A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A90
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A90#FFFFFF#000000##FFFFFF
##4E1A901.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1a90;
/* rgb */ color: rgb(78, 26, 144);
/* oklch */ color: oklch(37.4% 0.176 296.6);
Tailwind
colors: {
  custom: {
    50: '#875eb2',
    500: '#4e1a90',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a90;
$custom-light: #875eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a90",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 266.441,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37422,
    "c": 0.17584,
    "h": 296.6
  },
  "luminance": 0.04372
}

Semantic roles & 50–950 ramp

primary
#4E1A90
secondary
#8ABF47
accent
#EC3C9E
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E1A90

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

Preview Lab → · Contrast checker → · Palette generator →

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