#5D249C#5D249C

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

Color values

HEX#5D249C
RGBrgb(93, 36, 156)
HSLhsl(269, 63%, 38%)
HSVhsv(269, 77%, 61%)
CMYKcmyk(40.4%, 76.9%, 0%, 38.8%)
CIE-LABlab(29.38, 49.10, -54.74)
CIE-LCHlch(29.38, 73.53, 311.89°)
OKLaboklab(41.34% 0.0902 -0.1564)
OKLCHoklch(41.34% 0.181 300)
XYZxyz(11.1443, 5.9891, 32.0149)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D249C #639C24
analogous
#24279C #5D249C #99249C
triadic
#5D249C #9C5D24 #249C5D
tetradic
#5D249C #9C2427 #639C24 #249C99
square
#5D249C #9C2427 #639C24 #249C99
split-complementary
#5D249C #9C9924 #279C24
monochromatic
#220D39 #3F196A #5D249C #7B2FCE #9A60DA

Accessibility & contrast

On white

9.56
#5D249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D249C
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D249C#FFFFFF#000000##FFFFFF
##5D249C1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00449A
Tritanopia (blue-blind)
#4E435F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d249c;
/* rgb */ color: rgb(93, 36, 156);
/* oklch */ color: oklch(41.3% 0.181 300.0);
Tailwind
colors: {
  custom: {
    50: '#9165ba',
    500: '#5d249c',
    950: '#000000',
  },
}
SCSS
$custom: #5d249c;
$custom-light: #9165ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5d249c",
  "rgb": {
    "r": 93,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 268.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41343,
    "c": 0.18055,
    "h": 300
  },
  "luminance": 0.05989
}

Semantic roles & 50–950 ramp

primary
#5D249C
secondary
#90BF5C
accent
#E64298
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5D249C

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

Preview Lab → · Contrast checker → · Palette generator →

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