#5A3BC0#5A3BC0

#5A3BC0 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.0% C 0.196 H 287.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#5A3BC0
RGBrgb(90, 59, 192)
HSLhsl(254, 53%, 49%)
HSVhsv(254, 69%, 75%)
CMYKcmyk(53.1%, 69.3%, 0%, 24.7%)
CIE-LABlab(36.19, 46.99, -65.15)
CIE-LCHlch(36.19, 80.33, 305.80°)
OKLaboklab(47.04% 0.0571 -0.1872)
OKLCHoklch(47.04% 0.196 287)
XYZxyz(15.2920, 9.1066, 50.8109)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3BC0 #A1C03B
analogous
#3B5FC0 #5A3BC0 #9D3BC0
triadic
#5A3BC0 #C05A3B #3BC05A
tetradic
#5A3BC0 #C03B5F #A1C03B #3BC09D
square
#5A3BC0 #C03B5F #A1C03B #3BC09D
split-complementary
#5A3BC0 #C09D3B #5FC03B
monochromatic
#2E1E62 #442D91 #5A3BC0 #8068D1 #A797DF

Accessibility & contrast

On white

7.44
#5A3BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5A3BC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A3BC0
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A3BC0#FFFFFF#000000##FFFFFF
##5A3BC01.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#315D79
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5a3bc0;
/* rgb */ color: rgb(90, 59, 192);
/* oklch */ color: oklch(47.0% 0.196 287.0);
Tailwind
colors: {
  custom: {
    50: '#9273d4',
    500: '#5a3bc0',
    950: '#000000',
  },
}
SCSS
$custom: #5a3bc0;
$custom-light: #9273d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3bc0",
  "rgb": {
    "r": 90,
    "g": 59,
    "b": 192
  },
  "hsl": {
    "h": 253.985,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47037,
    "c": 0.19572,
    "h": 287
  },
  "luminance": 0.09107
}

Semantic roles & 50–950 ramp

primary
#5A3BC0
secondary
#BCCA8C
accent
#DC4BBB
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5A3BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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