#5C33B7#5C33B7

#5C33B7 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.194 H 290.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5C33B7
RGBrgb(92, 51, 183)
HSLhsl(259, 56%, 46%)
HSVhsv(259, 72%, 72%)
CMYKcmyk(49.7%, 72.1%, 0%, 28.2%)
CIE-LABlab(34.11, 48.96, -63.24)
CIE-LCHlch(34.11, 79.98, 307.75°)
OKLaboklab(45.37% 0.0689 -0.1815)
OKLCHoklch(45.37% 0.194 290.8)
XYZxyz(14.1423, 8.0613, 45.6014)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C33B7 #8EB733
analogous
#334CB7 #5C33B7 #9E33B7
triadic
#5C33B7 #B75C33 #33B75C
tetradic
#5C33B7 #B7334C #8EB733 #33B79E
square
#5C33B7 #B7334C #8EB733 #33B79E
split-complementary
#5C33B7 #B79E33 #4CB733
monochromatic
#2C1857 #442687 #5C33B7 #7D57D0 #A287DE

Accessibility & contrast

On white

8.04
#5C33B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5C33B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C33B7
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C33B7#FFFFFF#000000##FFFFFF
##5C33B71.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#3D5672
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c33b7;
/* rgb */ color: rgb(92, 51, 183);
/* oklch */ color: oklch(45.4% 0.194 290.8);
Tailwind
colors: {
  custom: {
    50: '#936ece',
    500: '#5c33b7',
    950: '#000000',
  },
}
SCSS
$custom: #5c33b7;
$custom-light: #936ece;
$custom-dark: #000000;
JSON
{
  "hex": "#5c33b7",
  "rgb": {
    "r": 92,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 258.636,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45367,
    "c": 0.19412,
    "h": 290.8
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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