#5E0F6A#5E0F6A

#5E0F6A is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.153 H 321.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#5E0F6A
RGBrgb(94, 15, 106)
HSLhsl(292, 75%, 24%)
HSVhsv(292, 86%, 42%)
CMYKcmyk(11.3%, 85.8%, 0%, 58.4%)
CIE-LABlab(22.87, 45.85, -33.86)
CIE-LCHlch(22.87, 56.99, 323.55°)
OKLaboklab(35.55% 0.1207 -0.0949)
OKLCHoklch(35.55% 0.154 321.8)
XYZxyz(7.3882, 3.7624, 13.9699)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F6A #1B6A0F
analogous
#300F6A #5E0F6A #6A0F48
triadic
#5E0F6A #6A5E0F #0F6A5E
tetradic
#5E0F6A #6A300F #1B6A0F #0F486A
square
#5E0F6A #6A300F #1B6A0F #0F486A
split-complementary
#5E0F6A #486A0F #0F6A30
monochromatic
#18041B #2E0734 #5E0F6A #8E17A0 #BD1ED5

Accessibility & contrast

On white

11.98
#5E0F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5E0F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0F6A
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0F6A#FFFFFF#000000##FFFFFF
##5E0F6A1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#1D3968
Tritanopia (blue-blind)
#5F233E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e0f6a;
/* rgb */ color: rgb(94, 15, 106);
/* oklch */ color: oklch(35.6% 0.153 321.8);
Tailwind
colors: {
  custom: {
    50: '#8f5a95',
    500: '#5e0f6a',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f6a;
$custom-light: #8f5a95;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f6a",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 292.088,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35551,
    "c": 0.1535,
    "h": 321.8
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#5E0F6A
secondary
#41A232
accent
#F2364F
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E0F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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