#5C33BE#5C33BE

#5C33BE is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.0% C 0.202 H 289.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5C33BE
RGBrgb(92, 51, 190)
HSLhsl(258, 58%, 47%)
HSVhsv(258, 73%, 75%)
CMYKcmyk(51.6%, 73.2%, 0%, 25.5%)
CIE-LABlab(34.72, 50.91, -66.37)
CIE-LCHlch(34.72, 83.64, 307.49°)
OKLaboklab(45.99% 0.0673 -0.1907)
OKLCHoklch(45.99% 0.202 289.4)
XYZxyz(14.8890, 8.3600, 49.5343)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C33BE #95BE33
analogous
#3350BE #5C33BE #A233BE
triadic
#5C33BE #BE5C33 #33BE5C
tetradic
#5C33BE #BE3350 #95BE33 #33BEA2
square
#5C33BE #BE3350 #95BE33 #33BEA2
split-complementary
#5C33BE #BEA233 #50BE33
monochromatic
#2D195E #45268E #5C33BE #7F5BD3 #A48BE0

Accessibility & contrast

On white

7.86
#5C33BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5C33BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C33BE
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C33BE#FFFFFF#000000##FFFFFF
##5C33BE1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#385876
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c33be;
/* rgb */ color: rgb(92, 51, 190);
/* oklch */ color: oklch(46.0% 0.202 289.4);
Tailwind
colors: {
  custom: {
    50: '#946fd3',
    500: '#5c33be',
    950: '#000000',
  },
}
SCSS
$custom: #5c33be;
$custom-light: #946fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c33be",
  "rgb": {
    "r": 92,
    "g": 51,
    "b": 190
  },
  "hsl": {
    "h": 257.698,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45988,
    "c": 0.2022,
    "h": 289.4
  },
  "luminance": 0.08361
}

Semantic roles & 50–950 ramp

primary
#5C33BE
secondary
#B5CA83
accent
#E147B3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C33BE

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

Preview Lab → · Contrast checker → · Palette generator →

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