#5D2BA2#5D2BA2

#5D2BA2 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.179 H 297.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#5D2BA2
RGBrgb(93, 43, 162)
HSLhsl(265, 58%, 40%)
HSVhsv(265, 73%, 64%)
CMYKcmyk(42.6%, 73.5%, 0%, 36.5%)
CIE-LABlab(31.03, 47.41, -55.71)
CIE-LCHlch(31.03, 73.15, 310.40°)
OKLaboklab(42.66% 0.0823 -0.1593)
OKLCHoklch(42.66% 0.179 297.3)
XYZxyz(11.8980, 6.6633, 34.8347)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2BA2 #70A22B
analogous
#2B34A2 #5D2BA2 #982BA2
triadic
#5D2BA2 #A25D2B #2BA25D
tetradic
#5D2BA2 #A22B34 #70A22B #2BA298
square
#5D2BA2 #A22B34 #70A22B #2BA298
split-complementary
#5D2BA2 #A2982B #34A22B
monochromatic
#251141 #411E72 #5D2BA2 #7A3ECC #9B6FD9

Accessibility & contrast

On white

9.00
#5D2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5D2BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2BA2
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2BA2#FFFFFF#000000##FFFFFF
##5D2BA21.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#4B4964
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5d2ba2;
/* rgb */ color: rgb(93, 43, 162);
/* oklch */ color: oklch(42.7% 0.179 297.3);
Tailwind
colors: {
  custom: {
    50: '#9169be',
    500: '#5d2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #5d2ba2;
$custom-light: #9169be;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2ba2",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 265.21,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42659,
    "c": 0.17929,
    "h": 297.3
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

primary
#5D2BA2
secondary
#9BC069
accent
#E147A0
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5D2BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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