#5C33CA#5C33CA

#5C33CA is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.216 H 287.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#5C33CA
RGBrgb(92, 51, 202)
HSLhsl(256, 60%, 50%)
HSVhsv(256, 75%, 79%)
CMYKcmyk(54.5%, 74.8%, 0%, 20.8%)
CIE-LABlab(35.80, 54.25, -71.62)
CIE-LCHlch(35.80, 89.84, 307.14°)
OKLaboklab(47.08% 0.0644 -0.206)
OKLCHoklch(47.08% 0.216 287.4)
XYZxyz(16.2550, 8.9064, 56.7283)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C33CA #A1CA33
analogous
#3356CA #5C33CA #A733CA
triadic
#5C33CA #CA5C33 #33CA5C
tetradic
#5C33CA #CA3356 #A1CA33 #33CAA7
square
#5C33CA #CA3356 #A1CA33 #33CAA7
split-complementary
#5C33CA #CAA733 #56CA33
monochromatic
#2F1A68 #462799 #5C33CA #8263D8 #A994E4

Accessibility & contrast

On white

7.55
#5C33CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5C33CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C33CA
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C33CA#FFFFFF#000000##FFFFFF
##5C33CA1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#2D5D7C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c33ca;
/* rgb */ color: rgb(92, 51, 202);
/* oklch */ color: oklch(47.1% 0.216 287.4);
Tailwind
colors: {
  custom: {
    50: '#966fdb',
    500: '#5c33ca',
    950: '#000000',
  },
}
SCSS
$custom: #5c33ca;
$custom-light: #966fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c33ca",
  "rgb": {
    "r": 92,
    "g": 51,
    "b": 202
  },
  "hsl": {
    "h": 256.291,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4708,
    "c": 0.21587,
    "h": 287.4
  },
  "luminance": 0.08907
}

Semantic roles & 50–950 ramp

primary
#5C33CA
secondary
#BCCF8A
accent
#E345B8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C33CA

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

Preview Lab → · Contrast checker → · Palette generator →

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