#5D249E#5D249E

#5D249E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.183 H 299.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#5D249E
RGBrgb(93, 36, 158)
HSLhsl(268, 63%, 38%)
HSVhsv(268, 77%, 62%)
CMYKcmyk(41.1%, 77.2%, 0%, 38%)
CIE-LABlab(29.56, 49.60, -55.68)
CIE-LCHlch(29.56, 74.57, 311.70°)
OKLaboklab(41.52% 0.0896 -0.1592)
OKLCHoklch(41.52% 0.183 299.4)
XYZxyz(11.3151, 6.0574, 32.9142)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D249E #659E24
analogous
#24289E #5D249E #9A249E
triadic
#5D249E #9E5D24 #249E5D
tetradic
#5D249E #9E2428 #659E24 #249E9A
square
#5D249E #9E2428 #659E24 #249E9A
split-complementary
#5D249E #9E9A24 #289E24
monochromatic
#220D3A #40196C #5D249E #7A2FD0 #9A61DB

Accessibility & contrast

On white

9.50
#5D249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5D249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D249E
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D249E#FFFFFF#000000##FFFFFF
##5D249E1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#4D4460
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d249e;
/* rgb */ color: rgb(93, 36, 158);
/* oklch */ color: oklch(41.5% 0.183 299.4);
Tailwind
colors: {
  custom: {
    50: '#9165bc',
    500: '#5d249e',
    950: '#000000',
  },
}
SCSS
$custom: #5d249e;
$custom-light: #9165bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d249e",
  "rgb": {
    "r": 93,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 268.033,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41517,
    "c": 0.18269,
    "h": 299.4
  },
  "luminance": 0.06058
}

Semantic roles & 50–950 ramp

primary
#5D249E
secondary
#92C05E
accent
#E64299
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5D249E

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

Preview Lab → · Contrast checker → · Palette generator →

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