#5C33BB#5C33BB

#5C33BB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.199 H 290.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#5C33BB
RGBrgb(92, 51, 187)
HSLhsl(258, 57%, 47%)
HSVhsv(258, 73%, 73%)
CMYKcmyk(50.8%, 72.7%, 0%, 26.7%)
CIE-LABlab(34.46, 50.07, -65.03)
CIE-LCHlch(34.46, 82.08, 307.59°)
OKLaboklab(45.72% 0.068 -0.1868)
OKLCHoklch(45.72% 0.199 290)
XYZxyz(14.5645, 8.2302, 47.8252)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C33BB #92BB33
analogous
#334EBB #5C33BB #A033BB
triadic
#5C33BB #BB5C33 #33BB5C
tetradic
#5C33BB #BB334E #92BB33 #33BBA0
square
#5C33BB #BB334E #92BB33 #33BBA0
split-complementary
#5C33BB #BBA033 #4EBB33
monochromatic
#2D195B #44268B #5C33BB #7E59D2 #A389DF

Accessibility & contrast

On white

7.94
#5C33BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5C33BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C33BB
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C33BB#FFFFFF#000000##FFFFFF
##5C33BB1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#3A5774
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c33bb;
/* rgb */ color: rgb(92, 51, 187);
/* oklch */ color: oklch(45.7% 0.199 290.0);
Tailwind
colors: {
  custom: {
    50: '#936fd1',
    500: '#5c33bb',
    950: '#000000',
  },
}
SCSS
$custom: #5c33bb;
$custom-light: #936fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c33bb",
  "rgb": {
    "r": 92,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 258.088,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45721,
    "c": 0.19875,
    "h": 290
  },
  "luminance": 0.08231
}

Semantic roles & 50–950 ramp

primary
#5C33BB
secondary
#B3C981
accent
#E047B2
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5C33BB

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

Preview Lab → · Contrast checker → · Palette generator →

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