#5E1865#5E1865

#5E1865 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.9% C 0.140 H 324.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#5E1865
RGBrgb(94, 24, 101)
HSLhsl(295, 62%, 25%)
HSVhsv(295, 76%, 40%)
CMYKcmyk(6.9%, 76.2%, 0%, 60.4%)
CIE-LABlab(23.58, 41.84, -29.45)
CIE-LCHlch(23.58, 51.17, 324.86°)
OKLaboklab(35.95% 0.1129 -0.0821)
OKLCHoklch(35.95% 0.14 324)
XYZxyz(7.2915, 3.9730, 12.6922)
Luminance0.0397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1865 #1F6518
analogous
#371865 #5E1865 #651846
triadic
#5E1865 #655E18 #18655E
tetradic
#5E1865 #653718 #1F6518 #184665
square
#5E1865 #653718 #1F6518 #184665
split-complementary
#5E1865 #466518 #186537
monochromatic
#170619 #300C34 #5E1865 #8C2496 #BA30C8

Accessibility & contrast

On white

11.70
#5E1865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5E1865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1865
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1865#FFFFFF#000000##FFFFFF
##5E18651.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003367
Deuteranopia (green-blind)
#263B63
Tritanopia (blue-blind)
#60253D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e1865;
/* rgb */ color: rgb(94, 24, 101);
/* oklch */ color: oklch(35.9% 0.140 324.0);
Tailwind
colors: {
  custom: {
    50: '#8f5d91',
    500: '#5e1865',
    950: '#000000',
  },
}
SCSS
$custom: #5e1865;
$custom-light: #8f5d91;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1865",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 294.545,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35947,
    "c": 0.13957,
    "h": 324
  },
  "luminance": 0.03973
}

Semantic roles & 50–950 ramp

primary
#5E1865
secondary
#469B3E
accent
#E54352
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D050D
muted
#7E797D

Preview Lab

Preview with #5E1865

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

Preview Lab → · Contrast checker → · Palette generator →

#5E1865 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva