#4E1D90#4E1D90

#4E1D90 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.173 H 296.3°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#4E1D90
RGBrgb(78, 29, 144)
HSLhsl(266, 66%, 34%)
HSVhsv(266, 80%, 56%)
CMYKcmyk(45.8%, 79.9%, 0%, 43.5%)
CIE-LABlab(25.30, 46.59, -54.14)
CIE-LCHlch(25.30, 71.42, 310.72°)
OKLaboklab(37.72% 0.0765 -0.1551)
OKLCHoklch(37.72% 0.173 296.3)
XYZxyz(8.6139, 4.5118, 26.7972)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D90 #5F901D
analogous
#1D2690 #4E1D90 #881D90
triadic
#4E1D90 #904E1D #1D904E
tetradic
#4E1D90 #901D26 #5F901D #1D9088
square
#4E1D90 #901D26 #5F901D #1D9088
split-complementary
#4E1D90 #90881D #26901D
monochromatic
#17082A #32135D #4E1D90 #6A27C3 #894CDB

Accessibility & contrast

On white

11.04
#4E1D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4E1D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D90
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D90#FFFFFF#000000##FFFFFF
##4E1D901.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#3C3D56
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e1d90;
/* rgb */ color: rgb(78, 29, 144);
/* oklch */ color: oklch(37.7% 0.173 296.3);
Tailwind
colors: {
  custom: {
    50: '#875fb2',
    500: '#4e1d90',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d90;
$custom-light: #875fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d90",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 265.565,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37722,
    "c": 0.17297,
    "h": 296.3
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#4E1D90
secondary
#8DBD4B
accent
#E93EA1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E1D90

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

Preview Lab → · Contrast checker → · Palette generator →

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