#5E246A#5E246A

#5E246A is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.7% C 0.128 H 320.4°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#5E246A
RGBrgb(94, 36, 106)
HSLhsl(290, 49%, 28%)
HSVhsv(290, 66%, 42%)
CMYKcmyk(11.3%, 66%, 0%, 58.4%)
CIE-LABlab(25.81, 37.51, -29.15)
CIE-LCHlch(25.81, 47.51, 322.15°)
OKLaboklab(37.65% 0.0983 -0.0813)
OKLCHoklch(37.65% 0.128 320.4)
XYZxyz(7.8482, 4.6824, 14.1233)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E246A #306A24
analogous
#3B246A #5E246A #6A2453
triadic
#5E246A #6A5E24 #246A5E
tetradic
#5E246A #6A3B24 #306A24 #24536A
square
#5E246A #6A3B24 #306A24 #24536A
split-complementary
#5E246A #536A24 #246A3B
monochromatic
#140817 #35143C #5E246A #873498 #AC48C1

Accessibility & contrast

On white

10.84
#5E246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#5E246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E246A
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E246A#FFFFFF#000000##FFFFFF
##5E246A1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12396C
Deuteranopia (green-blind)
#2A3F68
Tritanopia (blue-blind)
#5F2F43
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e246a;
/* rgb */ color: rgb(94, 36, 106);
/* oklch */ color: oklch(37.7% 0.128 320.4);
Tailwind
colors: {
  custom: {
    50: '#8e6395',
    500: '#5e246a',
    950: '#000000',
  },
}
SCSS
$custom: #5e246a;
$custom-light: #8e6395;
$custom-dark: #000000;
JSON
{
  "hex": "#5e246a",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 289.714,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37653,
    "c": 0.12757,
    "h": 320.4
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#5E246A
secondary
#5A9D4D
accent
#D94F67
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C050D
muted
#7D7A7E

Preview Lab

Preview with #5E246A

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

Preview Lab → · Contrast checker → · Palette generator →

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