#5D2BB5#5D2BB5

#5D2BB5 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.3% C 0.200 H 292.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#5D2BB5
RGBrgb(93, 43, 181)
HSLhsl(262, 62%, 44%)
HSVhsv(262, 76%, 71%)
CMYKcmyk(48.6%, 76.2%, 0%, 29%)
CIE-LABlab(32.68, 52.43, -64.39)
CIE-LCHlch(32.68, 83.04, 309.16°)
OKLaboklab(44.33% 0.0776 -0.1848)
OKLCHoklch(44.33% 0.2 292.8)
XYZxyz(13.7162, 7.3906, 44.4109)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2BB5 #83B52B
analogous
#2B3EB5 #5D2BB5 #A22BB5
triadic
#5D2BB5 #B55D2B #2BB55D
tetradic
#5D2BB5 #B52B3E #83B52B #2BB5A2
square
#5D2BB5 #B52B3E #83B52B #2BB5A2
split-complementary
#5D2BB5 #B5A22B #3EB52B
monochromatic
#2A1452 #441F84 #5D2BB5 #7C49D4 #9F7BE0

Accessibility & contrast

On white

8.47
#5D2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5D2BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2BB5
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2BB5#FFFFFF#000000##FFFFFF
##5D2BB51.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#41516F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5d2bb5;
/* rgb */ color: rgb(93, 43, 181);
/* oklch */ color: oklch(44.3% 0.200 292.8);
Tailwind
colors: {
  custom: {
    50: '#946acc',
    500: '#5d2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #5d2bb5;
$custom-light: #946acc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2bb5",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 261.739,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44331,
    "c": 0.20042,
    "h": 292.8
  },
  "luminance": 0.07391
}

Semantic roles & 50–950 ramp

primary
#5D2BB5
secondary
#A9C874
accent
#E543AA
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5D2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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