#4E1F90#4E1F90

#4E1F90 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.171 H 296.0°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#4E1F90
RGBrgb(78, 31, 144)
HSLhsl(265, 65%, 34%)
HSVhsv(265, 78%, 56%)
CMYKcmyk(45.8%, 78.5%, 0%, 43.5%)
CIE-LABlab(25.60, 45.71, -53.63)
CIE-LCHlch(25.60, 70.47, 310.44°)
OKLaboklab(37.94% 0.0749 -0.1537)
OKLCHoklch(37.94% 0.171 296)
XYZxyz(8.6646, 4.6131, 26.8141)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F90 #61901F
analogous
#1F2990 #4E1F90 #871F90
triadic
#4E1F90 #904E1F #1F904E
tetradic
#4E1F90 #901F29 #61901F #1F9087
square
#4E1F90 #901F29 #61901F #1F9087
split-complementary
#4E1F90 #90871F #29901F
monochromatic
#17092B #33145E #4E1F90 #692AC2 #8950D9

Accessibility & contrast

On white

10.92
#4E1F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4E1F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F90
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F90#FFFFFF#000000##FFFFFF
##4E1F901.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#3C3E57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e1f90;
/* rgb */ color: rgb(78, 31, 144);
/* oklch */ color: oklch(37.9% 0.171 296.0);
Tailwind
colors: {
  custom: {
    50: '#8760b1',
    500: '#4e1f90',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f90;
$custom-light: #8760b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f90",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 264.956,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37936,
    "c": 0.17094,
    "h": 296
  },
  "luminance": 0.04613
}

Semantic roles & 50–950 ramp

primary
#4E1F90
secondary
#8FBC4E
accent
#E840A2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E1F90

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

Preview Lab → · Contrast checker → · Palette generator →

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