#5E1269#5E1269

#5E1269 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.7% C 0.150 H 322.2°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#5E1269
RGBrgb(94, 18, 105)
HSLhsl(292, 71%, 24%)
HSVhsv(292, 83%, 41%)
CMYKcmyk(10.5%, 82.9%, 0%, 58.8%)
CIE-LABlab(23.11, 44.75, -32.82)
CIE-LCHlch(23.11, 55.49, 323.74°)
OKLaboklab(35.7% 0.1184 -0.0919)
OKLCHoklch(35.7% 0.15 322.2)
XYZxyz(7.3819, 3.8327, 13.7128)
Luminance0.0383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1269 #1D6912
analogous
#331269 #5E1269 #691249
triadic
#5E1269 #695E12 #12695E
tetradic
#5E1269 #693312 #1D6912 #124969
square
#5E1269 #693312 #1D6912 #124969
split-complementary
#5E1269 #496912 #126933
monochromatic
#17041A #2F0935 #5E1269 #8D1B9D #BC24D1

Accessibility & contrast

On white

11.89
#5E1269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5E1269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1269
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1269#FFFFFF#000000##FFFFFF
##5E12691.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326B
Deuteranopia (green-blind)
#203A67
Tritanopia (blue-blind)
#5F243E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1269;
/* rgb */ color: rgb(94, 18, 105);
/* oklch */ color: oklch(35.7% 0.150 322.2);
Tailwind
colors: {
  custom: {
    50: '#8f5b94',
    500: '#5e1269',
    950: '#000000',
  },
}
SCSS
$custom: #5e1269;
$custom-light: #8f5b94;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1269",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 292.414,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35699,
    "c": 0.14983,
    "h": 322.2
  },
  "luminance": 0.03832
}

Semantic roles & 50–950 ramp

primary
#5E1269
secondary
#44A136
accent
#ED3A51
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1269

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

Preview Lab → · Contrast checker → · Palette generator →

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