#5D3DC0#5D3DC0

#5D3DC0 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.6% C 0.193 H 287.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5D3DC0
RGBrgb(93, 61, 192)
HSLhsl(255, 52%, 50%)
HSVhsv(255, 68%, 75%)
CMYKcmyk(51.6%, 68.2%, 0%, 24.7%)
CIE-LABlab(36.87, 46.41, -64.02)
CIE-LCHlch(36.87, 79.07, 305.94°)
OKLaboklab(47.6% 0.0595 -0.1838)
OKLCHoklch(47.6% 0.193 287.9)
XYZxyz(15.6946, 9.4697, 50.8598)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3DC0 #A0C03D
analogous
#3D5FC0 #5D3DC0 #9E3DC0
triadic
#5D3DC0 #C05D3D #3DC05D
tetradic
#5D3DC0 #C03D5F #A0C03D #3DC09E
square
#5D3DC0 #C03D5F #A0C03D #3DC09E
split-complementary
#5D3DC0 #C09E3D #5FC03D
monochromatic
#301F63 #472E92 #5D3DC0 #836AD0 #AA99DF

Accessibility & contrast

On white

7.26
#5D3DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5D3DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3DC0
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3DC0#FFFFFF#000000##FFFFFF
##5D3DC01.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#385E7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d3dc0;
/* rgb */ color: rgb(93, 61, 192);
/* oklch */ color: oklch(47.6% 0.193 287.9);
Tailwind
colors: {
  custom: {
    50: '#9475d4',
    500: '#5d3dc0',
    950: '#000000',
  },
}
SCSS
$custom: #5d3dc0;
$custom-light: #9475d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3dc0",
  "rgb": {
    "r": 93,
    "g": 61,
    "b": 192
  },
  "hsl": {
    "h": 254.656,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47596,
    "c": 0.19319,
    "h": 287.9
  },
  "luminance": 0.0947
}

Semantic roles & 50–950 ramp

primary
#5D3DC0
secondary
#BCCA8E
accent
#DB4DB8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D3DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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