#5E249B#5E249B

#5E249B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.180 H 300.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#5E249B
RGBrgb(94, 36, 155)
HSLhsl(269, 62%, 37%)
HSVhsv(269, 77%, 61%)
CMYKcmyk(39.4%, 76.8%, 0%, 39.2%)
CIE-LABlab(29.43, 49.02, -54.05)
CIE-LCHlch(29.43, 72.97, 312.21°)
OKLaboklab(41.38% 0.0919 -0.1543)
OKLCHoklch(41.38% 0.18 300.8)
XYZxyz(11.1619, 6.0079, 31.5756)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E249B #619B24
analogous
#24259B #5E249B #9A249B
triadic
#5E249B #9B5E24 #249B5E
tetradic
#5E249B #9B2425 #619B24 #249B9A
square
#5E249B #9B2425 #619B24 #249B9A
split-complementary
#5E249B #9B9A24 #259B24
monochromatic
#220D38 #401869 #5E249B #7C30CD #9B5FDA

Accessibility & contrast

On white

9.54
#5E249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5E249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E249B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E249B#FFFFFF#000000##FFFFFF
##5E249B1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#50435E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5e249b;
/* rgb */ color: rgb(94, 36, 155);
/* oklch */ color: oklch(41.4% 0.180 300.8);
Tailwind
colors: {
  custom: {
    50: '#9265b9',
    500: '#5e249b',
    950: '#000000',
  },
}
SCSS
$custom: #5e249b;
$custom-light: #9265b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e249b",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 269.244,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41379,
    "c": 0.17964,
    "h": 300.8
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#5E249B
secondary
#8FBF5C
accent
#E54296
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5E249B

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

Preview Lab → · Contrast checker → · Palette generator →

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