#5E247B#5E247B

#5E247B is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.8% C 0.145 H 312.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#5E247B
RGBrgb(94, 36, 123)
HSLhsl(280, 55%, 31%)
HSVhsv(280, 71%, 48%)
CMYKcmyk(23.6%, 70.7%, 0%, 51.8%)
CIE-LABlab(26.94, 41.30, -38.22)
CIE-LCHlch(26.94, 56.27, 317.22°)
OKLaboklab(38.83% 0.0976 -0.1078)
OKLCHoklch(38.83% 0.145 312.2)
XYZxyz(8.8215, 5.0717, 19.2493)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E247B #417B24
analogous
#32247B #5E247B #7B246C
triadic
#5E247B #7B5E24 #247B5E
tetradic
#5E247B #7B3224 #417B24 #246C7B
square
#5E247B #7B3224 #417B24 #246C7B
split-complementary
#5E247B #6C7B24 #247B32
monochromatic
#16081C #3A164C #5E247B #8232AA #A24ECB

Accessibility & contrast

On white

10.43
#5E247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E247B
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E247B#FFFFFF#000000##FFFFFF
##5E247B1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7E
Deuteranopia (green-blind)
#1B4179
Tritanopia (blue-blind)
#5B364C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e247b;
/* rgb */ color: rgb(94, 36, 123);
/* oklch */ color: oklch(38.8% 0.145 312.2);
Tailwind
colors: {
  custom: {
    50: '#8f64a2',
    500: '#5e247b',
    950: '#000000',
  },
}
SCSS
$custom: #5e247b;
$custom-light: #8f64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e247b",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 280,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38827,
    "c": 0.14547,
    "h": 312.2
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#5E247B
secondary
#6DAD4D
accent
#DE4A7B
background
#F9F6FA
surface
#F1EBF3
border
#CBC6CD
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #5E247B

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

Preview Lab → · Contrast checker → · Palette generator →

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