#5E249E#5E249E

#5E249E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.183 H 299.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#5E249E
RGBrgb(94, 36, 158)
HSLhsl(269, 63%, 38%)
HSVhsv(269, 77%, 62%)
CMYKcmyk(40.5%, 77.2%, 0%, 38%)
CIE-LABlab(29.69, 49.77, -55.46)
CIE-LCHlch(29.69, 74.52, 311.91°)
OKLaboklab(41.64% 0.0912 -0.1585)
OKLCHoklch(41.64% 0.183 299.9)
XYZxyz(11.4170, 6.1099, 32.9190)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E249E #649E24
analogous
#24279E #5E249E #9B249E
triadic
#5E249E #9E5E24 #249E5E
tetradic
#5E249E #9E2427 #649E24 #249E9B
square
#5E249E #9E2427 #649E24 #249E9B
split-complementary
#5E249E #9E9B24 #279E24
monochromatic
#230D3A #40196C #5E249E #7C2FD0 #9B61DB

Accessibility & contrast

On white

9.45
#5E249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5E249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E249E
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E249E#FFFFFF#000000##FFFFFF
##5E249E1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#4F4460
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5e249e;
/* rgb */ color: rgb(94, 36, 158);
/* oklch */ color: oklch(41.6% 0.183 299.9);
Tailwind
colors: {
  custom: {
    50: '#9265bc',
    500: '#5e249e',
    950: '#000000',
  },
}
SCSS
$custom: #5e249e;
$custom-light: #9265bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e249e",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 268.525,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41638,
    "c": 0.18283,
    "h": 299.9
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#5E249E
secondary
#91C05E
accent
#E64298
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5E249E

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

Preview Lab → · Contrast checker → · Palette generator →

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