#5C33C9#5C33C9

#5C33C9 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.215 H 287.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#5C33C9
RGBrgb(92, 51, 201)
HSLhsl(256, 60%, 49%)
HSVhsv(256, 75%, 79%)
CMYKcmyk(54.2%, 74.6%, 0%, 21.2%)
CIE-LABlab(35.71, 53.97, -71.18)
CIE-LCHlch(35.71, 89.33, 307.17°)
OKLaboklab(46.99% 0.0646 -0.2048)
OKLCHoklch(46.99% 0.215 287.5)
XYZxyz(16.1369, 8.8592, 56.1067)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C33C9 #A0C933
analogous
#3355C9 #5C33C9 #A733C9
triadic
#5C33C9 #C95C33 #33C95C
tetradic
#5C33C9 #C93355 #A0C933 #33C9A7
square
#5C33C9 #C93355 #A0C933 #33C9A7
split-complementary
#5C33C9 #C9A733 #55C933
monochromatic
#2F1A67 #462798 #5C33C9 #8262D7 #A993E4

Accessibility & contrast

On white

7.58
#5C33C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5C33C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C33C9
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C33C9#FFFFFF#000000##FFFFFF
##5C33C91.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#0050C6
Tritanopia (blue-blind)
#2E5D7C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c33c9;
/* rgb */ color: rgb(92, 51, 201);
/* oklch */ color: oklch(47.0% 0.215 287.5);
Tailwind
colors: {
  custom: {
    50: '#956fdb',
    500: '#5c33c9',
    950: '#000000',
  },
}
SCSS
$custom: #5c33c9;
$custom-light: #956fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c33c9",
  "rgb": {
    "r": 92,
    "g": 51,
    "b": 201
  },
  "hsl": {
    "h": 256.4,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46988,
    "c": 0.21474,
    "h": 287.5
  },
  "luminance": 0.0886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C33C9

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

Preview Lab → · Contrast checker → · Palette generator →

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