#5A3DD0#5A3DD0

#5A3DD0 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.7% C 0.213 H 284.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5A3DD0
RGBrgb(90, 61, 208)
HSLhsl(252, 61%, 53%)
HSVhsv(252, 71%, 82%)
CMYKcmyk(56.7%, 70.7%, 0%, 18.4%)
CIE-LABlab(37.96, 50.60, -71.57)
CIE-LCHlch(37.96, 87.65, 305.26°)
OKLaboklab(48.72% 0.0525 -0.206)
OKLCHoklch(48.72% 0.213 284.3)
XYZxyz(17.2669, 10.0642, 60.6950)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3DD0 #B3D03D
analogous
#3D69D0 #5A3DD0 #A43DD0
triadic
#5A3DD0 #D05A3D #3DD05A
tetradic
#5A3DD0 #D03D69 #B3D03D #3DD0A4
square
#5A3DD0 #D03D69 #B3D03D #3DD0A4
split-complementary
#5A3DD0 #D0A43D #69D03D
monochromatic
#2E1D76 #4229A7 #5A3DD0 #846EDC #AEA0E8

Accessibility & contrast

On white

6.97
#5A3DD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5A3DD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A3DD0
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A3DD0#FFFFFF#000000##FFFFFF
##5A3DD01.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED4
Deuteranopia (green-blind)
#0055CD
Tritanopia (blue-blind)
#1D6482
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5a3dd0;
/* rgb */ color: rgb(90, 61, 208);
/* oklch */ color: oklch(48.7% 0.213 284.3);
Tailwind
colors: {
  custom: {
    50: '#9575e0',
    500: '#5a3dd0',
    950: '#000000',
  },
}
SCSS
$custom: #5a3dd0;
$custom-light: #9575e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3dd0",
  "rgb": {
    "r": 90,
    "g": 61,
    "b": 208
  },
  "hsl": {
    "h": 251.837,
    "s": 60.996,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48723,
    "c": 0.21261,
    "h": 284.3
  },
  "luminance": 0.10065
}

Semantic roles & 50–950 ramp

primary
#5A3DD0
secondary
#C8D495
accent
#E444C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5A3DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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