#5E246D#5E246D

#5E246D is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.9% C 0.131 H 318.8°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#5E246D
RGBrgb(94, 36, 109)
HSLhsl(288, 50%, 28%)
HSVhsv(288, 67%, 43%)
CMYKcmyk(13.8%, 67%, 0%, 57.3%)
CIE-LABlab(26.00, 38.16, -30.79)
CIE-LCHlch(26.00, 49.03, 321.10°)
OKLaboklab(37.85% 0.0983 -0.0861)
OKLCHoklch(37.85% 0.131 318.8)
XYZxyz(8.0069, 4.7459, 14.9593)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E246D #336D24
analogous
#39246D #5E246D #6D2457
triadic
#5E246D #6D5E24 #246D5E
tetradic
#5E246D #6D3924 #336D24 #24576D
square
#5E246D #6D3924 #336D24 #24576D
split-complementary
#5E246D #576D24 #246D39
monochromatic
#140817 #36153F #5E246D #86339B #AA49C3

Accessibility & contrast

On white

10.77
#5E246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#5E246D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E246D
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E246D#FFFFFF#000000##FFFFFF
##5E246D1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3A6F
Deuteranopia (green-blind)
#283F6B
Tritanopia (blue-blind)
#5E3145
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e246d;
/* rgb */ color: rgb(94, 36, 109);
/* oklch */ color: oklch(37.9% 0.131 318.8);
Tailwind
colors: {
  custom: {
    50: '#8e6397',
    500: '#5e246d',
    950: '#000000',
  },
}
SCSS
$custom: #5e246d;
$custom-light: #8e6397;
$custom-dark: #000000;
JSON
{
  "hex": "#5e246d",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 287.671,
    "s": 50.345,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3785,
    "c": 0.13068,
    "h": 318.8
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#5E246D
secondary
#5EA04D
accent
#DA4E6B
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0D050D
muted
#7D7A7E

Preview Lab

Preview with #5E246D

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

Preview Lab → · Contrast checker → · Palette generator →

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