#5D2CC0#5D2CC0

#5D2CC0 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.5% C 0.212 H 290.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#5D2CC0
RGBrgb(93, 44, 192)
HSLhsl(260, 63%, 46%)
HSVhsv(260, 77%, 75%)
CMYKcmyk(51.6%, 77.1%, 0%, 24.7%)
CIE-LABlab(33.84, 54.91, -68.98)
CIE-LCHlch(33.84, 88.17, 308.52°)
OKLaboklab(45.45% 0.0738 -0.1982)
OKLCHoklch(45.45% 0.212 290.4)
XYZxyz(14.9266, 7.9337, 50.6038)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2CC0 #8FC02C
analogous
#2C45C0 #5D2CC0 #A72CC0
triadic
#5D2CC0 #C05D2C #2CC05D
tetradic
#5D2CC0 #C02C45 #8FC02C #2CC0A7
square
#5D2CC0 #C02C45 #8FC02C #2CC0A7
split-complementary
#5D2CC0 #C0A72C #45C02C
monochromatic
#2D155C #45218E #5D2CC0 #7E52D7 #A384E3

Accessibility & contrast

On white

8.12
#5D2CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5D2CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2CC0
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2CC0#FFFFFF#000000##FFFFFF
##5D2CC01.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#004CBD
Tritanopia (blue-blind)
#395675
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d2cc0;
/* rgb */ color: rgb(93, 44, 192);
/* oklch */ color: oklch(45.5% 0.212 290.4);
Tailwind
colors: {
  custom: {
    50: '#956bd4',
    500: '#5d2cc0',
    950: '#000000',
  },
}
SCSS
$custom: #5d2cc0;
$custom-light: #956bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2cc0",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 259.865,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45452,
    "c": 0.21152,
    "h": 290.4
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#5D2CC0
secondary
#B1CC7C
accent
#E642B0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5D2CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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