#5E247D#5E247D

#5E247D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.148 H 311.3°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#5E247D
RGBrgb(94, 36, 125)
HSLhsl(279, 55%, 32%)
HSVhsv(279, 71%, 49%)
CMYKcmyk(24.8%, 71.2%, 0%, 51%)
CIE-LABlab(27.08, 41.76, -39.25)
CIE-LCHlch(27.08, 57.32, 316.78°)
OKLaboklab(38.97% 0.0974 -0.1109)
OKLCHoklch(38.97% 0.148 311.3)
XYZxyz(8.9479, 5.1223, 19.9154)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E247D #437D24
analogous
#32247D #5E247D #7D2470
triadic
#5E247D #7D5E24 #247D5E
tetradic
#5E247D #7D3224 #437D24 #24707D
square
#5E247D #7D3224 #437D24 #24707D
split-complementary
#5E247D #707D24 #247D32
monochromatic
#17091E #3A164D #5E247D #8232AD #A14FCC

Accessibility & contrast

On white

10.37
#5E247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#5E247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E247D
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E247D#FFFFFF#000000##FFFFFF
##5E247D1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#19417B
Tritanopia (blue-blind)
#5A374D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e247d;
/* rgb */ color: rgb(94, 36, 125);
/* oklch */ color: oklch(39.0% 0.148 311.3);
Tailwind
colors: {
  custom: {
    50: '#8f64a3',
    500: '#5e247d',
    950: '#000000',
  },
}
SCSS
$custom: #5e247d;
$custom-light: #8f64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e247d",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 279.101,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38974,
    "c": 0.1476,
    "h": 311.3
  },
  "luminance": 0.05122
}

Semantic roles & 50–950 ramp

primary
#5E247D
secondary
#70AF4D
accent
#DF497D
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #5E247D

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

Preview Lab → · Contrast checker → · Palette generator →

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