#5C33B8#5C33B8

#5C33B8 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.195 H 290.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5C33B8
RGBrgb(92, 51, 184)
HSLhsl(258, 57%, 46%)
HSVhsv(258, 72%, 72%)
CMYKcmyk(50%, 72.3%, 0%, 27.8%)
CIE-LABlab(34.20, 49.24, -63.69)
CIE-LCHlch(34.20, 80.50, 307.71°)
OKLaboklab(45.46% 0.0687 -0.1828)
OKLCHoklch(45.46% 0.195 290.6)
XYZxyz(14.2467, 8.1031, 46.1515)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C33B8 #8FB833
analogous
#334CB8 #5C33B8 #9E33B8
triadic
#5C33B8 #B85C33 #33B85C
tetradic
#5C33B8 #B8334C #8FB833 #33B89E
square
#5C33B8 #B8334C #8FB833 #33B89E
split-complementary
#5C33B8 #B89E33 #4CB833
monochromatic
#2C1858 #442688 #5C33B8 #7D58D1 #A288DE

Accessibility & contrast

On white

8.01
#5C33B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5C33B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C33B8
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C33B8#FFFFFF#000000##FFFFFF
##5C33B81.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#3D5672
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c33b8;
/* rgb */ color: rgb(92, 51, 184);
/* oklch */ color: oklch(45.5% 0.195 290.6);
Tailwind
colors: {
  custom: {
    50: '#936ece',
    500: '#5c33b8',
    950: '#000000',
  },
}
SCSS
$custom: #5c33b8;
$custom-light: #936ece;
$custom-dark: #000000;
JSON
{
  "hex": "#5c33b8",
  "rgb": {
    "r": 92,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 258.496,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45455,
    "c": 0.19528,
    "h": 290.6
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#5C33B8
secondary
#B1C87F
accent
#E048B1
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5C33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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