#5D2390#5D2390

#5D2390 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.169 H 303.8°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#5D2390
RGBrgb(93, 35, 144)
HSLhsl(272, 61%, 35%)
HSVhsv(272, 76%, 56%)
CMYKcmyk(35.4%, 75.7%, 0%, 43.5%)
CIE-LABlab(28.23, 46.56, -49.26)
CIE-LCHlch(28.23, 67.78, 313.39°)
OKLaboklab(40.22% 0.094 -0.1403)
OKLCHoklch(40.22% 0.169 303.8)
XYZxyz(10.1481, 5.5429, 26.9154)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2390 #569023
analogous
#272390 #5D2390 #90238C
triadic
#5D2390 #905D23 #23905D
tetradic
#5D2390 #902723 #569023 #238C90
square
#5D2390 #902723 #569023 #238C90
split-complementary
#5D2390 #8C9023 #239027
monochromatic
#1D0B2E #3D175F #5D2390 #7D2FC1 #9B57D6

Accessibility & contrast

On white

9.96
#5D2390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#5D2390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2390
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2390#FFFFFF#000000##FFFFFF
##5D23901.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#533E58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5d2390;
/* rgb */ color: rgb(93, 35, 144);
/* oklch */ color: oklch(40.2% 0.169 303.8);
Tailwind
colors: {
  custom: {
    50: '#9064b1',
    500: '#5d2390',
    950: '#000000',
  },
}
SCSS
$custom: #5d2390;
$custom-light: #9064b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2390",
  "rgb": {
    "r": 93,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 271.927,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40218,
    "c": 0.16887,
    "h": 303.8
  },
  "luminance": 0.05543
}

Semantic roles & 50–950 ramp

primary
#5D2390
secondary
#84BA54
accent
#E4448F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2390

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

Preview Lab → · Contrast checker → · Palette generator →

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