#5E246F#5E246F

#5E246F is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.0% C 0.133 H 317.8°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#5E246F
RGBrgb(94, 36, 111)
HSLhsl(286, 51%, 29%)
HSVhsv(286, 68%, 44%)
CMYKcmyk(15.3%, 67.6%, 0%, 56.5%)
CIE-LABlab(26.13, 38.60, -31.87)
CIE-LCHlch(26.13, 50.05, 320.45°)
OKLaboklab(37.98% 0.0983 -0.0892)
OKLCHoklch(37.98% 0.133 317.8)
XYZxyz(8.1158, 4.7895, 15.5328)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E246F #356F24
analogous
#39246F #5E246F #6F245B
triadic
#5E246F #6F5E24 #246F5E
tetradic
#5E246F #6F3924 #356F24 #245B6F
square
#5E246F #6F3924 #356F24 #245B6F
split-complementary
#5E246F #5B6F24 #246F39
monochromatic
#140717 #371541 #5E246F #85339D #A849C4

Accessibility & contrast

On white

10.73
#5E246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#5E246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E246F
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E246F#FFFFFF#000000##FFFFFF
##5E246F1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3A71
Deuteranopia (green-blind)
#27406D
Tritanopia (blue-blind)
#5E3146
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e246f;
/* rgb */ color: rgb(94, 36, 111);
/* oklch */ color: oklch(38.0% 0.133 317.8);
Tailwind
colors: {
  custom: {
    50: '#8e6399',
    500: '#5e246f',
    950: '#000000',
  },
}
SCSS
$custom: #5e246f;
$custom-light: #8e6399;
$custom-dark: #000000;
JSON
{
  "hex": "#5e246f",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 286.4,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37983,
    "c": 0.13278,
    "h": 317.8
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#5E246F
secondary
#60A24D
accent
#DA4D6D
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0D050E
muted
#7D7A7E

Preview Lab

Preview with #5E246F

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

Preview Lab → · Contrast checker → · Palette generator →

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