#5D249A#5D249A

#5D249A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.178 H 300.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#5D249A
RGBrgb(93, 36, 154)
HSLhsl(269, 62%, 37%)
HSVhsv(269, 77%, 60%)
CMYKcmyk(39.6%, 76.6%, 0%, 39.6%)
CIE-LABlab(29.21, 48.60, -53.80)
CIE-LCHlch(29.21, 72.50, 312.09°)
OKLaboklab(41.17% 0.0907 -0.1536)
OKLCHoklch(41.17% 0.178 300.5)
XYZxyz(10.9764, 5.9219, 31.1303)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D249A #619A24
analogous
#24269A #5D249A #98249A
triadic
#5D249A #9A5D24 #249A5D
tetradic
#5D249A #9A2426 #619A24 #249A98
square
#5D249A #9A2426 #619A24 #249A98
split-complementary
#5D249A #9A9824 #269A24
monochromatic
#210D37 #3F1868 #5D249A #7B30CC #9A5FDA

Accessibility & contrast

On white

9.61
#5D249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5D249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D249A
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D249A#FFFFFF#000000##FFFFFF
##5D249A1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#4F435E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d249a;
/* rgb */ color: rgb(93, 36, 154);
/* oklch */ color: oklch(41.2% 0.178 300.5);
Tailwind
colors: {
  custom: {
    50: '#9165b9',
    500: '#5d249a',
    950: '#000000',
  },
}
SCSS
$custom: #5d249a;
$custom-light: #9165b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d249a",
  "rgb": {
    "r": 93,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 268.983,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41171,
    "c": 0.17841,
    "h": 300.5
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#5D249A
secondary
#8FBF5B
accent
#E54397
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D249A

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

Preview Lab → · Contrast checker → · Palette generator →

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