#5D2090#5D2090

#5D2090 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.172 H 304.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#5D2090
RGBrgb(93, 32, 144)
HSLhsl(273, 64%, 35%)
HSVhsv(273, 78%, 56%)
CMYKcmyk(35.4%, 77.8%, 0%, 43.5%)
CIE-LABlab(27.77, 47.86, -50.00)
CIE-LCHlch(27.77, 69.22, 313.75°)
OKLaboklab(39.9% 0.0968 -0.1425)
OKLCHoklch(39.9% 0.172 304.2)
XYZxyz(10.0636, 5.3738, 26.8872)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2090 #539020
analogous
#252090 #5D2090 #90208B
triadic
#5D2090 #905D20 #20905D
tetradic
#5D2090 #902520 #539020 #208B90
square
#5D2090 #902520 #539020 #208B90
split-complementary
#5D2090 #8B9020 #209025
monochromatic
#1C0A2C #3D155E #5D2090 #7D2BC2 #9B52D9

Accessibility & contrast

On white

10.12
#5D2090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#5D2090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2090
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2090#FFFFFF#000000##FFFFFF
##5D20901.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#533D57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5d2090;
/* rgb */ color: rgb(93, 32, 144);
/* oklch */ color: oklch(39.9% 0.172 304.2);
Tailwind
colors: {
  custom: {
    50: '#9063b1',
    500: '#5d2090',
    950: '#000000',
  },
}
SCSS
$custom: #5d2090;
$custom-light: #9063b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2090",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 272.679,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39898,
    "c": 0.17223,
    "h": 304.2
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#5D2090
secondary
#81BC50
accent
#E7418D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2090

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

Preview Lab → · Contrast checker → · Palette generator →

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