#5C32DB#5C32DB

#5C32DB is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.236 H 284.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5C32DB
RGBrgb(92, 50, 219)
HSLhsl(255, 70%, 53%)
HSVhsv(255, 77%, 86%)
CMYKcmyk(58%, 77.2%, 0%, 14.1%)
CIE-LABlab(37.24, 59.41, -79.08)
CIE-LCHlch(37.24, 98.91, 306.92°)
OKLaboklab(48.57% 0.0605 -0.2278)
OKLCHoklch(48.57% 0.236 284.9)
XYZxyz(18.3365, 9.6698, 67.9043)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C32DB #B1DB32
analogous
#325DDB #5C32DB #B032DB
triadic
#5C32DB #DB5C32 #32DB5C
tetradic
#5C32DB #DB325D #B1DB32 #32DBB0
square
#5C32DB #DB325D #B1DB32 #32DBB0
split-complementary
#5C32DB #DBB032 #5DDB32
monochromatic
#2F167D #431FB1 #5C32DB #8566E4 #AF9AED

Accessibility & contrast

On white

7.16
#5C32DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C32DB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C32DB#FFFFFF#000000##FFFFFF
##5C32DB1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE0
Deuteranopia (green-blind)
#0052D8
Tritanopia (blue-blind)
#106386
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c32db;
/* rgb */ color: rgb(92, 50, 219);
/* oklch */ color: oklch(48.6% 0.236 284.9);
Tailwind
colors: {
  custom: {
    50: '#9870e8',
    500: '#5c32db',
    950: '#000000',
  },
}
SCSS
$custom: #5c32db;
$custom-light: #9870e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c32db",
  "rgb": {
    "r": 92,
    "g": 50,
    "b": 219
  },
  "hsl": {
    "h": 254.911,
    "s": 70.124,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48572,
    "c": 0.23573,
    "h": 284.9
  },
  "luminance": 0.09671
}

Semantic roles & 50–950 ramp

primary
#5C32DB
secondary
#C7D990
accent
#ED3BC1
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5C32DB

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

Preview Lab → · Contrast checker → · Palette generator →

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