#5D2CA0#5D2CA0

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

Color values

HEX#5D2CA0
RGBrgb(93, 44, 160)
HSLhsl(265, 57%, 40%)
HSVhsv(265, 73%, 63%)
CMYKcmyk(41.9%, 72.5%, 0%, 37.3%)
CIE-LABlab(31.04, 46.40, -54.48)
CIE-LCHlch(31.04, 71.56, 310.42°)
OKLaboklab(42.61% 0.0817 -0.1557)
OKLCHoklch(42.61% 0.176 297.7)
XYZxyz(11.7584, 6.6664, 33.9181)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2CA0 #6FA02C
analogous
#2C35A0 #5D2CA0 #972CA0
triadic
#5D2CA0 #A05D2C #2CA05D
tetradic
#5D2CA0 #A02C35 #6FA02C #2CA097
square
#5D2CA0 #A02C35 #6FA02C #2CA097
split-complementary
#5D2CA0 #A0972C #35A02C
monochromatic
#251240 #411F70 #5D2CA0 #7A3FCA #9B6FD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D2CA0#FFFFFF#000000##FFFFFF
##5D2CA01.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)
#0049A3
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#4C4963
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5d2ca0;
/* rgb */ color: rgb(93, 44, 160);
/* oklch */ color: oklch(42.6% 0.176 297.7);
Tailwind
colors: {
  custom: {
    50: '#916abd',
    500: '#5d2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #5d2ca0;
$custom-light: #916abd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2ca0",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 265.345,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.42612,
    "c": 0.17585,
    "h": 297.7
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#5D2CA0
secondary
#9BBF69
accent
#E048A0
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5D2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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