#5E246C#5E246C

#5E246C is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.8% C 0.130 H 319.3°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#5E246C
RGBrgb(94, 36, 108)
HSLhsl(288, 50%, 28%)
HSVhsv(288, 67%, 42%)
CMYKcmyk(13%, 66.7%, 0%, 57.6%)
CIE-LABlab(25.93, 37.94, -30.25)
CIE-LCHlch(25.93, 48.52, 321.44°)
OKLaboklab(37.78% 0.0983 -0.0845)
OKLCHoklch(37.78% 0.13 319.3)
XYZxyz(7.9534, 4.7245, 14.6774)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E246C #326C24
analogous
#3A246C #5E246C #6C2456
triadic
#5E246C #6C5E24 #246C5E
tetradic
#5E246C #6C3A24 #326C24 #24566C
square
#5E246C #6C3A24 #326C24 #24566C
split-complementary
#5E246C #566C24 #246C3A
monochromatic
#140817 #36153E #5E246C #86339A #AA48C2

Accessibility & contrast

On white

10.80
#5E246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E246C
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E246C#FFFFFF#000000##FFFFFF
##5E246C1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F396E
Deuteranopia (green-blind)
#293F6A
Tritanopia (blue-blind)
#5E3044
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e246c;
/* rgb */ color: rgb(94, 36, 108);
/* oklch */ color: oklch(37.8% 0.130 319.3);
Tailwind
colors: {
  custom: {
    50: '#8e6396',
    500: '#5e246c',
    950: '#000000',
  },
}
SCSS
$custom: #5e246c;
$custom-light: #8e6396;
$custom-dark: #000000;
JSON
{
  "hex": "#5e246c",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 288.333,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37784,
    "c": 0.12964,
    "h": 319.3
  },
  "luminance": 0.04724
}

Semantic roles & 50–950 ramp

primary
#5E246C
secondary
#5D9F4D
accent
#DA4E69
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0D050D
muted
#7D7A7E

Preview Lab

Preview with #5E246C

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

Preview Lab → · Contrast checker → · Palette generator →

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