#5D3290#5D3290

#5D3290 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.149 H 301.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#5D3290
RGBrgb(93, 50, 144)
HSLhsl(267, 48%, 38%)
HSVhsv(267, 65%, 56%)
CMYKcmyk(35.4%, 65.3%, 0%, 43.5%)
CIE-LABlab(30.93, 39.05, -44.88)
CIE-LCHlch(30.93, 59.49, 311.02°)
OKLaboklab(42.15% 0.0774 -0.1275)
OKLCHoklch(42.15% 0.149 301.3)
XYZxyz(10.6876, 6.6219, 27.0952)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3290 #659032
analogous
#323690 #5D3290 #8C3290
triadic
#5D3290 #905D32 #32905D
tetradic
#5D3290 #903236 #659032 #32908C
square
#5D3290 #903236 #659032 #32908C
split-complementary
#5D3290 #908C32 #369032
monochromatic
#221235 #402263 #5D3290 #7A42BD #9A6FCD

Accessibility & contrast

On white

9.03
#5D3290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5D3290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3290
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3290#FFFFFF#000000##FFFFFF
##5D32901.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#0D488E
Tritanopia (blue-blind)
#52475C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5d3290;
/* rgb */ color: rgb(93, 50, 144);
/* oklch */ color: oklch(42.1% 0.149 301.3);
Tailwind
colors: {
  custom: {
    50: '#8f6cb1',
    500: '#5d3290',
    950: '#000000',
  },
}
SCSS
$custom: #5d3290;
$custom-light: #8f6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3290",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 144
  },
  "hsl": {
    "h": 267.447,
    "s": 48.454,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42148,
    "c": 0.14919,
    "h": 301.3
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#5D3290
secondary
#92B569
accent
#D8509A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5D3290

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

Preview Lab → · Contrast checker → · Palette generator →

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