#5D249F#5D249F

#5D249F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.184 H 299.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#5D249F
RGBrgb(93, 36, 159)
HSLhsl(268, 63%, 38%)
HSVhsv(268, 77%, 62%)
CMYKcmyk(41.5%, 77.4%, 0%, 37.6%)
CIE-LABlab(29.64, 49.85, -56.15)
CIE-LCHlch(29.64, 75.08, 311.60°)
OKLaboklab(41.61% 0.0894 -0.1605)
OKLCHoklch(41.61% 0.184 299.1)
XYZxyz(11.4015, 6.0920, 33.3693)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D249F #669F24
analogous
#24289F #5D249F #9A249F
triadic
#5D249F #9F5D24 #249F5D
tetradic
#5D249F #9F2428 #669F24 #249F9A
square
#5D249F #9F2428 #669F24 #249F9A
split-complementary
#5D249F #9F9A24 #289F24
monochromatic
#230D3B #40196D #5D249F #7A30D0 #9A62DB

Accessibility & contrast

On white

9.47
#5D249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5D249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D249F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D249F#FFFFFF#000000##FFFFFF
##5D249F1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#4D4560
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d249f;
/* rgb */ color: rgb(93, 36, 159);
/* oklch */ color: oklch(41.6% 0.184 299.1);
Tailwind
colors: {
  custom: {
    50: '#9165bc',
    500: '#5d249f',
    950: '#000000',
  },
}
SCSS
$custom: #5d249f;
$custom-light: #9165bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d249f",
  "rgb": {
    "r": 93,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 267.805,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41605,
    "c": 0.18376,
    "h": 299.1
  },
  "luminance": 0.06092
}

Semantic roles & 50–950 ramp

primary
#5D249F
secondary
#93C15E
accent
#E6429A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5D249F

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

Preview Lab → · Contrast checker → · Palette generator →

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