#5D2D90#5D2D90

#5D2D90 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.156 H 302.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#5D2D90
RGBrgb(93, 45, 144)
HSLhsl(269, 52%, 37%)
HSVhsv(269, 69%, 56%)
CMYKcmyk(35.4%, 68.7%, 0%, 43.5%)
CIE-LABlab(29.95, 41.72, -46.46)
CIE-LCHlch(29.95, 62.44, 311.92°)
OKLaboklab(41.45% 0.0833 -0.1321)
OKLCHoklch(41.45% 0.156 302.2)
XYZxyz(10.4854, 6.2175, 27.0278)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2D90 #60902D
analogous
#2D2F90 #5D2D90 #8F2D90
triadic
#5D2D90 #905D2D #2D905D
tetradic
#5D2D90 #902D2F #60902D #2D908F
square
#5D2D90 #902D2F #60902D #2D908F
split-complementary
#5D2D90 #908F2D #2F902D
monochromatic
#211033 #3F1E61 #5D2D90 #7B3CBF #9A68D0

Accessibility & contrast

On white

9.36
#5D2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5D2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2D90
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2D90#FFFFFF#000000##FFFFFF
##5D2D901.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#53445A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5d2d90;
/* rgb */ color: rgb(93, 45, 144);
/* oklch */ color: oklch(41.4% 0.156 302.2);
Tailwind
colors: {
  custom: {
    50: '#8f69b1',
    500: '#5d2d90',
    950: '#000000',
  },
}
SCSS
$custom: #5d2d90;
$custom-light: #8f69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2d90",
  "rgb": {
    "r": 93,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 269.091,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41446,
    "c": 0.15622,
    "h": 302.2
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#5D2D90
secondary
#8EB662
accent
#DC4C96
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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