#5D3090#5D3090

#5D3090 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.9% C 0.152 H 301.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#5D3090
RGBrgb(93, 48, 144)
HSLhsl(268, 50%, 38%)
HSVhsv(268, 67%, 56%)
CMYKcmyk(35.4%, 66.7%, 0%, 43.5%)
CIE-LABlab(30.53, 40.14, -45.53)
CIE-LCHlch(30.53, 60.69, 311.40°)
OKLaboklab(41.86% 0.0798 -0.1294)
OKLCHoklch(41.86% 0.152 301.7)
XYZxyz(10.6040, 6.4546, 27.0674)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3090 #639030
analogous
#303390 #5D3090 #8D3090
triadic
#5D3090 #905D30 #30905D
tetradic
#5D3090 #903033 #639030 #30908D
square
#5D3090 #903033 #639030 #30908D
split-complementary
#5D3090 #908D30 #339030
monochromatic
#221134 #3F2162 #5D3090 #7B3FBE #9A6CCE

Accessibility & contrast

On white

9.17
#5D3090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5D3090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3090
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3090#FFFFFF#000000##FFFFFF
##5D30901.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#07478E
Tritanopia (blue-blind)
#52455B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5d3090;
/* rgb */ color: rgb(93, 48, 144);
/* oklch */ color: oklch(41.9% 0.152 301.7);
Tailwind
colors: {
  custom: {
    50: '#8f6bb1',
    500: '#5d3090',
    950: '#000000',
  },
}
SCSS
$custom: #5d3090;
$custom-light: #8f6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3090",
  "rgb": {
    "r": 93,
    "g": 48,
    "b": 144
  },
  "hsl": {
    "h": 268.125,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41861,
    "c": 0.15204,
    "h": 301.7
  },
  "luminance": 0.06455
}

Semantic roles & 50–950 ramp

primary
#5D3090
secondary
#90B566
accent
#DA4E98
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5D3090

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

Preview Lab → · Contrast checker → · Palette generator →

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