#5D2B91#5D2B91

#5D2B91 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.160 H 302.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#5D2B91
RGBrgb(93, 43, 145)
HSLhsl(269, 54%, 37%)
HSVhsv(269, 70%, 57%)
CMYKcmyk(35.9%, 70.3%, 0%, 43.1%)
CIE-LABlab(29.66, 43.00, -47.55)
CIE-LCHlch(29.66, 64.11, 312.12°)
OKLaboklab(41.26% 0.0854 -0.1353)
OKLCHoklch(41.26% 0.16 302.3)
XYZxyz(10.4877, 6.0992, 27.4073)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2B91 #5F912B
analogous
#2B2C91 #5D2B91 #902B91
triadic
#5D2B91 #915D2B #2B915D
tetradic
#5D2B91 #912B2C #5F912B #2B9190
square
#5D2B91 #912B2C #5F912B #2B9190
split-complementary
#5D2B91 #91902B #2C912B
monochromatic
#200F33 #3F1D62 #5D2B91 #7B39C0 #9A65D1

Accessibility & contrast

On white

9.46
#5D2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5D2B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2B91
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2B91#FFFFFF#000000##FFFFFF
##5D2B911.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#52435A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d2b91;
/* rgb */ color: rgb(93, 43, 145);
/* oklch */ color: oklch(41.3% 0.160 302.3);
Tailwind
colors: {
  custom: {
    50: '#8f68b2',
    500: '#5d2b91',
    950: '#000000',
  },
}
SCSS
$custom: #5d2b91;
$custom-light: #8f68b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2b91",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 269.412,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4126,
    "c": 0.16005,
    "h": 302.3
  },
  "luminance": 0.06099
}

Semantic roles & 50–950 ramp

primary
#5D2B91
secondary
#8DB860
accent
#DE4A95
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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