#5D249B#5D249B

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

Color values

HEX#5D249B
RGBrgb(93, 36, 155)
HSLhsl(269, 62%, 37%)
HSVhsv(269, 77%, 61%)
CMYKcmyk(40%, 76.8%, 0%, 39.2%)
CIE-LABlab(29.30, 48.85, -54.27)
CIE-LCHlch(29.30, 73.02, 311.99°)
OKLaboklab(41.26% 0.0904 -0.155)
OKLCHoklch(41.26% 0.179 300.3)
XYZxyz(11.0600, 5.9554, 31.5708)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D249B #629B24
analogous
#24279B #5D249B #98249B
triadic
#5D249B #9B5D24 #249B5D
tetradic
#5D249B #9B2427 #629B24 #249B98
square
#5D249B #9B2427 #629B24 #249B98
split-complementary
#5D249B #9B9824 #279B24
monochromatic
#210D38 #3F1869 #5D249B #7B30CD #9A5FDA

Accessibility & contrast

On white

9.58
#5D249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D249B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D249B#FFFFFF#000000##FFFFFF
##5D249B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#4F435E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d249b;
/* rgb */ color: rgb(93, 36, 155);
/* oklch */ color: oklch(41.3% 0.179 300.3);
Tailwind
colors: {
  custom: {
    50: '#9165b9',
    500: '#5d249b',
    950: '#000000',
  },
}
SCSS
$custom: #5d249b;
$custom-light: #9165b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d249b",
  "rgb": {
    "r": 93,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 268.739,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41257,
    "c": 0.17948,
    "h": 300.3
  },
  "luminance": 0.05955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D249B

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

Preview Lab → · Contrast checker → · Palette generator →

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