#5E1C65#5E1C65

#5E1C65 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.4% C 0.134 H 323.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#5E1C65
RGBrgb(94, 28, 101)
HSLhsl(294, 57%, 25%)
HSVhsv(294, 72%, 40%)
CMYKcmyk(6.9%, 72.3%, 0%, 60.4%)
CIE-LABlab(24.16, 40.20, -28.53)
CIE-LCHlch(24.16, 49.29, 324.64°)
OKLaboklab(36.36% 0.1084 -0.0794)
OKLCHoklch(36.36% 0.134 323.8)
XYZxyz(7.3801, 4.1502, 12.7217)
Luminance0.0415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1C65 #23651C
analogous
#3A1C65 #5E1C65 #651C47
triadic
#5E1C65 #655E1C #1C655E
tetradic
#5E1C65 #653A1C #23651C #1C4765
square
#5E1C65 #653A1C #23651C #1C4765
split-complementary
#5E1C65 #47651C #1C653A
monochromatic
#160718 #310F35 #5E1C65 #8B2995 #B737C5

Accessibility & contrast

On white

11.48
#5E1C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5E1C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1C65
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1C65#FFFFFF#000000##FFFFFF
##5E1C651.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093467
Deuteranopia (green-blind)
#283C63
Tritanopia (blue-blind)
#60283E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1c65;
/* rgb */ color: rgb(94, 28, 101);
/* oklch */ color: oklch(36.4% 0.134 323.8);
Tailwind
colors: {
  custom: {
    50: '#8e5f91',
    500: '#5e1c65',
    950: '#000000',
  },
}
SCSS
$custom: #5e1c65;
$custom-light: #8e5f91;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1c65",
  "rgb": {
    "r": 94,
    "g": 28,
    "b": 101
  },
  "hsl": {
    "h": 294.247,
    "s": 56.589,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36363,
    "c": 0.13436,
    "h": 323.8
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#5E1C65
secondary
#4B9A43
accent
#E04857
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D050D
muted
#7D797D

Preview Lab

Preview with #5E1C65

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

Preview Lab → · Contrast checker → · Palette generator →

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