#5D2BB7#5D2BB7

#5D2BB7 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.203 H 292.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#5D2BB7
RGBrgb(93, 43, 183)
HSLhsl(261, 62%, 44%)
HSVhsv(261, 77%, 72%)
CMYKcmyk(49.2%, 76.5%, 0%, 28.2%)
CIE-LABlab(32.86, 52.97, -65.28)
CIE-LCHlch(32.86, 84.07, 309.05°)
OKLaboklab(44.51% 0.077 -0.1874)
OKLCHoklch(44.51% 0.203 292.4)
XYZxyz(13.9229, 7.4733, 45.4995)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2BB7 #85B72B
analogous
#2B3FB7 #5D2BB7 #A32BB7
triadic
#5D2BB7 #B75D2B #2BB75D
tetradic
#5D2BB7 #B72B3F #85B72B #2BB7A3
square
#5D2BB7 #B72B3F #85B72B #2BB7A3
split-complementary
#5D2BB7 #B7A32B #3FB72B
monochromatic
#2B1454 #441F85 #5D2BB7 #7C4BD5 #A07CE0

Accessibility & contrast

On white

8.42
#5D2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D2BB7
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2BB7#FFFFFF#000000##FFFFFF
##5D2BB71.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#004AB4
Tritanopia (blue-blind)
#405270
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5d2bb7;
/* rgb */ color: rgb(93, 43, 183);
/* oklch */ color: oklch(44.5% 0.203 292.4);
Tailwind
colors: {
  custom: {
    50: '#946ace',
    500: '#5d2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #5d2bb7;
$custom-light: #946ace;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2bb7",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 261.429,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44513,
    "c": 0.20262,
    "h": 292.4
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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