#5D3CDB#5D3CDB

#5D3CDB is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.8% C 0.226 H 284.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5D3CDB
RGBrgb(93, 60, 219)
HSLhsl(252, 69%, 55%)
HSVhsv(252, 73%, 86%)
CMYKcmyk(57.5%, 72.6%, 0%, 14.1%)
CIE-LABlab(39.02, 54.74, -76.14)
CIE-LCHlch(39.02, 93.78, 305.71°)
OKLaboklab(49.84% 0.0552 -0.2193)
OKLCHoklch(49.84% 0.226 284.1)
XYZxyz(18.9123, 10.6722, 68.0675)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3CDB #BADB3C
analogous
#3C6BDB #5D3CDB #AD3CDB
triadic
#5D3CDB #DB5D3C #3CDB5D
tetradic
#5D3CDB #DB3C6B #BADB3C #3CDBAD
square
#5D3CDB #DB3C6B #BADB3C #3CDBAD
split-complementary
#5D3CDB #DBAD3C #6BDB3C
monochromatic
#2F1884 #4122B8 #5D3CDB #8870E5 #B3A3EE

Accessibility & contrast

On white

6.70
#5D3CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5D3CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3CDB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3CDB#FFFFFF#000000##FFFFFF
##5D3CDB1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E0
Deuteranopia (green-blind)
#0057D8
Tritanopia (blue-blind)
#156888
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d3cdb;
/* rgb */ color: rgb(93, 60, 219);
/* oklch */ color: oklch(49.8% 0.226 284.1);
Tailwind
colors: {
  custom: {
    50: '#9875e7',
    500: '#5d3cdb',
    950: '#000000',
  },
}
SCSS
$custom: #5d3cdb;
$custom-light: #9875e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3cdb",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 219
  },
  "hsl": {
    "h": 252.453,
    "s": 68.831,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49844,
    "c": 0.22615,
    "h": 284.1
  },
  "luminance": 0.10673
}

Semantic roles & 50–950 ramp

primary
#5D3CDB
secondary
#CDDB98
accent
#EC3CC7
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D3CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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