#5D2290#5D2290

#5D2290 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.170 H 303.9°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#5D2290
RGBrgb(93, 34, 144)
HSLhsl(272, 62%, 35%)
HSVhsv(272, 76%, 56%)
CMYKcmyk(35.4%, 76.4%, 0%, 43.5%)
CIE-LABlab(28.07, 47.00, -49.51)
CIE-LCHlch(28.07, 68.27, 313.51°)
OKLaboklab(40.11% 0.0949 -0.141)
OKLCHoklch(40.11% 0.17 303.9)
XYZxyz(10.1191, 5.4849, 26.9057)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2290 #559022
analogous
#262290 #5D2290 #90228C
triadic
#5D2290 #905D22 #22905D
tetradic
#5D2290 #902622 #559022 #228C90
square
#5D2290 #902622 #559022 #228C90
split-complementary
#5D2290 #8C9022 #229026
monochromatic
#1D0B2D #3D165E #5D2290 #7D2EC2 #9B55D7

Accessibility & contrast

On white

10.01
#5D2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#5D2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2290
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2290#FFFFFF#000000##FFFFFF
##5D22901.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d2290;
/* rgb */ color: rgb(93, 34, 144);
/* oklch */ color: oklch(40.1% 0.170 303.9);
Tailwind
colors: {
  custom: {
    50: '#9063b1',
    500: '#5d2290',
    950: '#000000',
  },
}
SCSS
$custom: #5d2290;
$custom-light: #9063b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2290",
  "rgb": {
    "r": 93,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 272.182,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40109,
    "c": 0.17001,
    "h": 303.9
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

primary
#5D2290
secondary
#83BB53
accent
#E5438E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2290

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

Preview Lab → · Contrast checker → · Palette generator →

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