#5E296B#5E296B

#5E296B is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.4% C 0.121 H 319.3°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#5E296B
RGBrgb(94, 41, 107)
HSLhsl(288, 45%, 29%)
HSVhsv(288, 62%, 42%)
CMYKcmyk(12.1%, 61.7%, 0%, 58%)
CIE-LABlab(26.81, 35.15, -28.21)
CIE-LCHlch(26.81, 45.07, 321.26°)
OKLaboklab(38.4% 0.0915 -0.0786)
OKLCHoklch(38.4% 0.121 319.3)
XYZxyz(8.0625, 5.0274, 14.4528)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E296B #366B29
analogous
#3D296B #5E296B #6B2957
triadic
#5E296B #6B5E29 #296B5E
tetradic
#5E296B #6B3D29 #366B29 #29576B
square
#5E296B #6B3D29 #366B29 #29576B
split-complementary
#5E296B #576B29 #296B3D
monochromatic
#130816 #37183F #5E296B #853A97 #A852BD

Accessibility & contrast

On white

10.47
#5E296B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#5E296B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E296B
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E296B#FFFFFF#000000##FFFFFF
##5E296B1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3C6D
Deuteranopia (green-blind)
#2D4169
Tritanopia (blue-blind)
#5E3346
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5e296b;
/* rgb */ color: rgb(94, 41, 107);
/* oklch */ color: oklch(38.4% 0.121 319.3);
Tailwind
colors: {
  custom: {
    50: '#8e6696',
    500: '#5e296b',
    950: '#000000',
  },
}
SCSS
$custom: #5e296b;
$custom-light: #8e6696;
$custom-dark: #000000;
JSON
{
  "hex": "#5e296b",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 288.182,
    "s": 44.595,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38401,
    "c": 0.12058,
    "h": 319.3
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#5E296B
secondary
#619D52
accent
#D4536D
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #5E296B

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

Preview Lab → · Contrast checker → · Palette generator →

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