#5D2BB0#5D2BB0

#5D2BB0 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.195 H 293.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#5D2BB0
RGBrgb(93, 43, 176)
HSLhsl(263, 61%, 43%)
HSVhsv(263, 76%, 69%)
CMYKcmyk(47.2%, 75.6%, 0%, 31%)
CIE-LABlab(32.23, 51.11, -62.15)
CIE-LCHlch(32.23, 80.46, 309.43°)
OKLaboklab(43.88% 0.0789 -0.1782)
OKLCHoklch(43.88% 0.195 293.9)
XYZxyz(13.2124, 7.1891, 41.7574)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2BB0 #7EB02B
analogous
#2B3CB0 #5D2BB0 #9F2BB0
triadic
#5D2BB0 #B05D2B #2BB05D
tetradic
#5D2BB0 #B02B3C #7EB02B #2BB09F
square
#5D2BB0 #B02B3C #7EB02B #2BB09F
split-complementary
#5D2BB0 #B09F2B #3CB02B
monochromatic
#29134E #431F7F #5D2BB0 #7B46D2 #9E78DE

Accessibility & contrast

On white

8.61
#5D2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5D2BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2BB0
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2BB0#FFFFFF#000000##FFFFFF
##5D2BB01.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#444F6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d2bb0;
/* rgb */ color: rgb(93, 43, 176);
/* oklch */ color: oklch(43.9% 0.195 293.9);
Tailwind
colors: {
  custom: {
    50: '#936ac9',
    500: '#5d2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #5d2bb0;
$custom-light: #936ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2bb0",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 262.556,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43881,
    "c": 0.1949,
    "h": 293.9
  },
  "luminance": 0.07189
}

Semantic roles & 50–950 ramp

primary
#5D2BB0
secondary
#A6C671
accent
#E444A8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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