#5C33BA#5C33BA

#5C33BA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.198 H 290.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5C33BA
RGBrgb(92, 51, 186)
HSLhsl(258, 57%, 46%)
HSVhsv(258, 73%, 73%)
CMYKcmyk(50.5%, 72.6%, 0%, 27.1%)
CIE-LABlab(34.37, 49.79, -64.59)
CIE-LCHlch(34.37, 81.55, 307.63°)
OKLaboklab(45.63% 0.0682 -0.1854)
OKLCHoklch(45.63% 0.198 290.2)
XYZxyz(14.4578, 8.1875, 47.2634)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C33BA #91BA33
analogous
#334EBA #5C33BA #A033BA
triadic
#5C33BA #BA5C33 #33BA5C
tetradic
#5C33BA #BA334E #91BA33 #33BAA0
square
#5C33BA #BA334E #91BA33 #33BAA0
split-complementary
#5C33BA #BAA033 #4EBA33
monochromatic
#2C195A #44268A #5C33BA #7D59D1 #A389DF

Accessibility & contrast

On white

7.96
#5C33BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5C33BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C33BA
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C33BA#FFFFFF#000000##FFFFFF
##5C33BA1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#3B5773
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c33ba;
/* rgb */ color: rgb(92, 51, 186);
/* oklch */ color: oklch(45.6% 0.198 290.2);
Tailwind
colors: {
  custom: {
    50: '#936fd0',
    500: '#5c33ba',
    950: '#000000',
  },
}
SCSS
$custom: #5c33ba;
$custom-light: #936fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c33ba",
  "rgb": {
    "r": 92,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 258.222,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45632,
    "c": 0.1976,
    "h": 290.2
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#5C33BA
secondary
#B3C980
accent
#E048B2
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5C33BA

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

Preview Lab → · Contrast checker → · Palette generator →

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