#5D3BC8#5D3BC8

#5D3BC8 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.0% C 0.205 H 287.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5D3BC8
RGBrgb(93, 59, 200)
HSLhsl(254, 56%, 51%)
HSVhsv(254, 71%, 78%)
CMYKcmyk(53.5%, 70.5%, 0%, 21.6%)
CIE-LABlab(37.16, 49.79, -68.22)
CIE-LCHlch(37.16, 84.46, 306.12°)
OKLaboklab(48.01% 0.0599 -0.1961)
OKLCHoklch(48.01% 0.205 287)
XYZxyz(16.5004, 9.6244, 55.6206)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BC8 #A6C83B
analogous
#3B5FC8 #5D3BC8 #A33BC8
triadic
#5D3BC8 #C85D3B #3BC85D
tetradic
#5D3BC8 #C83B5F #A6C83B #3BC8A3
square
#5D3BC8 #C83B5F #A6C83B #3BC8A3
split-complementary
#5D3BC8 #C8A33B #5FC83B
monochromatic
#301E6B #462B9A #5D3BC8 #846BD5 #AC9BE3

Accessibility & contrast

On white

7.18
#5D3BC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5D3BC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3BC8
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BC8#FFFFFF#000000##FFFFFF
##5D3BC81.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#0053C5
Tritanopia (blue-blind)
#31607D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d3bc8;
/* rgb */ color: rgb(93, 59, 200);
/* oklch */ color: oklch(48.0% 0.205 287.0);
Tailwind
colors: {
  custom: {
    50: '#9574da',
    500: '#5d3bc8',
    950: '#000000',
  },
}
SCSS
$custom: #5d3bc8;
$custom-light: #9574da;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3bc8",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 254.468,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48009,
    "c": 0.20506,
    "h": 287
  },
  "luminance": 0.09625
}

Semantic roles & 50–950 ramp

primary
#5D3BC8
secondary
#C0CF90
accent
#DF48BB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5D3BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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