#5D2490#5D2490

#5D2490 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.168 H 303.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#5D2490
RGBrgb(93, 36, 144)
HSLhsl(272, 60%, 35%)
HSVhsv(272, 75%, 56%)
CMYKcmyk(35.4%, 75%, 0%, 43.5%)
CIE-LABlab(28.39, 46.11, -49.01)
CIE-LCHlch(28.39, 67.29, 313.26°)
OKLaboklab(40.33% 0.093 -0.1396)
OKLCHoklch(40.33% 0.168 303.7)
XYZxyz(10.1780, 5.6025, 26.9253)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2490 #579024
analogous
#272490 #5D2490 #90248D
triadic
#5D2490 #905D24 #24905D
tetradic
#5D2490 #902724 #579024 #248D90
square
#5D2490 #902724 #579024 #248D90
split-complementary
#5D2490 #8D9024 #249027
monochromatic
#1E0C2E #3D185F #5D2490 #7D30C1 #9B59D5

Accessibility & contrast

On white

9.90
#5D2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#5D2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2490
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2490#FFFFFF#000000##FFFFFF
##5D24901.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#533F58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5d2490;
/* rgb */ color: rgb(93, 36, 144);
/* oklch */ color: oklch(40.3% 0.168 303.7);
Tailwind
colors: {
  custom: {
    50: '#9065b1',
    500: '#5d2490',
    950: '#000000',
  },
}
SCSS
$custom: #5d2490;
$custom-light: #9065b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2490",
  "rgb": {
    "r": 93,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 271.667,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4033,
    "c": 0.16769,
    "h": 303.7
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#5D2490
secondary
#85BA56
accent
#E3458F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2490

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

Preview Lab → · Contrast checker → · Palette generator →

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