#5E249A#5E249A

#5E249A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.179 H 301.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#5E249A
RGBrgb(94, 36, 154)
HSLhsl(269, 62%, 37%)
HSVhsv(269, 77%, 60%)
CMYKcmyk(39%, 76.6%, 0%, 39.6%)
CIE-LABlab(29.35, 48.77, -53.58)
CIE-LCHlch(29.35, 72.45, 312.31°)
OKLaboklab(41.29% 0.0922 -0.153)
OKLCHoklch(41.29% 0.179 301.1)
XYZxyz(11.0783, 5.9745, 31.1351)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E249A #609A24
analogous
#24259A #5E249A #99249A
triadic
#5E249A #9A5E24 #249A5E
tetradic
#5E249A #9A2425 #609A24 #249A99
square
#5E249A #9A2425 #609A24 #249A99
split-complementary
#5E249A #9A9924 #259A24
monochromatic
#210D37 #401868 #5E249A #7C30CC #9B5FDA

Accessibility & contrast

On white

9.57
#5E249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5E249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E249A
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E249A#FFFFFF#000000##FFFFFF
##5E249A1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#51435E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5e249a;
/* rgb */ color: rgb(94, 36, 154);
/* oklch */ color: oklch(41.3% 0.179 301.1);
Tailwind
colors: {
  custom: {
    50: '#9165b9',
    500: '#5e249a',
    950: '#000000',
  },
}
SCSS
$custom: #5e249a;
$custom-light: #9165b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e249a",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 269.492,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41294,
    "c": 0.17858,
    "h": 301.1
  },
  "luminance": 0.05975
}

Semantic roles & 50–950 ramp

primary
#5E249A
secondary
#8EBF5B
accent
#E54395
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E249A

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

Preview Lab → · Contrast checker → · Palette generator →

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