#5D2BB3#5D2BB3

#5D2BB3 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.198 H 293.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#5D2BB3
RGBrgb(93, 43, 179)
HSLhsl(262, 61%, 44%)
HSVhsv(262, 76%, 70%)
CMYKcmyk(48%, 76%, 0%, 29.8%)
CIE-LABlab(32.50, 51.90, -63.50)
CIE-LCHlch(32.50, 82.01, 309.26°)
OKLaboklab(44.15% 0.0781 -0.1822)
OKLCHoklch(44.15% 0.198 293.2)
XYZxyz(13.5125, 7.3091, 43.3379)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2BB3 #81B32B
analogous
#2B3DB3 #5D2BB3 #A12BB3
triadic
#5D2BB3 #B35D2B #2BB35D
tetradic
#5D2BB3 #B32B3D #81B32B #2BB3A1
square
#5D2BB3 #B32B3D #81B32B #2BB3A1
split-complementary
#5D2BB3 #B3A12B #3DB32B
monochromatic
#2A1350 #431F82 #5D2BB3 #7B48D3 #9F79DF

Accessibility & contrast

On white

8.53
#5D2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5D2BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2BB3
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2BB3#FFFFFF#000000##FFFFFF
##5D2BB31.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#42506D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d2bb3;
/* rgb */ color: rgb(93, 43, 179);
/* oklch */ color: oklch(44.1% 0.198 293.2);
Tailwind
colors: {
  custom: {
    50: '#936acb',
    500: '#5d2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #5d2bb3;
$custom-light: #936acb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2bb3",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 262.059,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4415,
    "c": 0.19822,
    "h": 293.2
  },
  "luminance": 0.0731
}

Semantic roles & 50–950 ramp

primary
#5D2BB3
secondary
#A8C773
accent
#E443A9
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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