#5D2BB4#5D2BB4

#5D2BB4 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.199 H 293.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#5D2BB4
RGBrgb(93, 43, 180)
HSLhsl(262, 61%, 44%)
HSVhsv(262, 76%, 71%)
CMYKcmyk(48.3%, 76.1%, 0%, 29.4%)
CIE-LABlab(32.59, 52.17, -63.94)
CIE-LCHlch(32.59, 82.53, 309.21°)
OKLaboklab(44.24% 0.0779 -0.1835)
OKLCHoklch(44.24% 0.199 293)
XYZxyz(13.6140, 7.3497, 43.8725)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2BB4 #82B42B
analogous
#2B3DB4 #5D2BB4 #A12BB4
triadic
#5D2BB4 #B45D2B #2BB45D
tetradic
#5D2BB4 #B42B3D #82B42B #2BB4A1
square
#5D2BB4 #B42B3D #82B42B #2BB4A1
split-complementary
#5D2BB4 #B4A12B #3DB42B
monochromatic
#2A1351 #431F83 #5D2BB4 #7B49D3 #9F7ADF

Accessibility & contrast

On white

8.50
#5D2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5D2BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2BB4
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2BB4#FFFFFF#000000##FFFFFF
##5D2BB41.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#42516E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5d2bb4;
/* rgb */ color: rgb(93, 43, 180);
/* oklch */ color: oklch(44.2% 0.199 293.0);
Tailwind
colors: {
  custom: {
    50: '#936acc',
    500: '#5d2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #5d2bb4;
$custom-light: #936acc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2bb4",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 261.898,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4424,
    "c": 0.19932,
    "h": 293
  },
  "luminance": 0.0735
}

Semantic roles & 50–950 ramp

primary
#5D2BB4
secondary
#A9C773
accent
#E543AA
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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