#5D2696#5D2696

#5D2696 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.172 H 301.5°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#5D2696
RGBrgb(93, 38, 150)
HSLhsl(269, 60%, 37%)
HSVhsv(269, 75%, 59%)
CMYKcmyk(38%, 74.7%, 0%, 41.2%)
CIE-LABlab(29.20, 46.69, -51.38)
CIE-LCHlch(29.20, 69.43, 312.26°)
OKLaboklab(41.06% 0.0897 -0.1466)
OKLCHoklch(41.06% 0.172 301.5)
XYZxyz(10.7110, 5.9153, 29.4257)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2696 #5F9626
analogous
#262796 #5D2696 #952696
triadic
#5D2696 #965D26 #26965D
tetradic
#5D2696 #962627 #5F9626 #269695
square
#5D2696 #962627 #5F9626 #269695
split-complementary
#5D2696 #969526 #279626
monochromatic
#200D34 #3F1A65 #5D2696 #7B32C7 #9A60D7

Accessibility & contrast

On white

9.62
#5D2696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5D2696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2696
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2696#FFFFFF#000000##FFFFFF
##5D26961.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#51425C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d2696;
/* rgb */ color: rgb(93, 38, 150);
/* oklch */ color: oklch(41.1% 0.172 301.5);
Tailwind
colors: {
  custom: {
    50: '#9066b6',
    500: '#5d2696',
    950: '#000000',
  },
}
SCSS
$custom: #5d2696;
$custom-light: #9066b6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2696",
  "rgb": {
    "r": 93,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 269.464,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41055,
    "c": 0.17183,
    "h": 301.5
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#5D2696
secondary
#8DBC5C
accent
#E34595
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2696

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

Preview Lab → · Contrast checker → · Palette generator →

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