#5E249F#5E249F

#5E249F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.184 H 299.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#5E249F
RGBrgb(94, 36, 159)
HSLhsl(268, 63%, 38%)
HSVhsv(268, 77%, 62%)
CMYKcmyk(40.9%, 77.4%, 0%, 37.6%)
CIE-LABlab(29.77, 50.02, -55.93)
CIE-LCHlch(29.77, 75.03, 311.81°)
OKLaboklab(41.73% 0.0909 -0.1599)
OKLCHoklch(41.73% 0.184 299.6)
XYZxyz(11.5034, 6.1445, 33.3741)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E249F #659F24
analogous
#24279F #5E249F #9B249F
triadic
#5E249F #9F5E24 #249F5E
tetradic
#5E249F #9F2427 #659F24 #249F9B
square
#5E249F #9F2427 #659F24 #249F9B
split-complementary
#5E249F #9F9B24 #279F24
monochromatic
#230D3B #40196D #5E249F #7C30D0 #9B62DB

Accessibility & contrast

On white

9.42
#5E249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5E249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E249F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E249F#FFFFFF#000000##FFFFFF
##5E249F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#4F4560
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5e249f;
/* rgb */ color: rgb(94, 36, 159);
/* oklch */ color: oklch(41.7% 0.184 299.6);
Tailwind
colors: {
  custom: {
    50: '#9265bc',
    500: '#5e249f',
    950: '#000000',
  },
}
SCSS
$custom: #5e249f;
$custom-light: #9265bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e249f",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 268.293,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41725,
    "c": 0.1839,
    "h": 299.6
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#5E249F
secondary
#92C15E
accent
#E64299
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5E249F

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

Preview Lab → · Contrast checker → · Palette generator →

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