#5D2BB6#5D2BB6

#5D2BB6 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.4% C 0.202 H 292.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#5D2BB6
RGBrgb(93, 43, 182)
HSLhsl(262, 62%, 44%)
HSVhsv(262, 76%, 71%)
CMYKcmyk(48.9%, 76.4%, 0%, 28.6%)
CIE-LABlab(32.77, 52.70, -64.84)
CIE-LCHlch(32.77, 83.55, 309.10°)
OKLaboklab(44.42% 0.0773 -0.1861)
OKLCHoklch(44.42% 0.202 292.6)
XYZxyz(13.8192, 7.4318, 44.9533)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2BB6 #84B62B
analogous
#2B3EB6 #5D2BB6 #A32BB6
triadic
#5D2BB6 #B65D2B #2BB65D
tetradic
#5D2BB6 #B62B3E #84B62B #2BB6A3
square
#5D2BB6 #B62B3E #84B62B #2BB6A3
split-complementary
#5D2BB6 #B6A32B #3EB62B
monochromatic
#2A1453 #441F84 #5D2BB6 #7C4AD4 #A07BE0

Accessibility & contrast

On white

8.45
#5D2BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5D2BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2BB6
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2BB6#FFFFFF#000000##FFFFFF
##5D2BB61.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#40516F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5d2bb6;
/* rgb */ color: rgb(93, 43, 182);
/* oklch */ color: oklch(44.4% 0.202 292.6);
Tailwind
colors: {
  custom: {
    50: '#946acd',
    500: '#5d2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #5d2bb6;
$custom-light: #946acd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2bb6",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 261.583,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44422,
    "c": 0.20151,
    "h": 292.6
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

primary
#5D2BB6
secondary
#AAC875
accent
#E543AB
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5D2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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