#5C33BD#5C33BD

#5C33BD is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.9% C 0.201 H 289.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5C33BD
RGBrgb(92, 51, 189)
HSLhsl(258, 58%, 47%)
HSVhsv(258, 73%, 74%)
CMYKcmyk(51.3%, 73%, 0%, 25.9%)
CIE-LABlab(34.63, 50.63, -65.92)
CIE-LCHlch(34.63, 83.12, 307.52°)
OKLaboklab(45.9% 0.0675 -0.1894)
OKLCHoklch(45.9% 0.201 289.6)
XYZxyz(14.7801, 8.3164, 48.9607)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C33BD #94BD33
analogous
#334FBD #5C33BD #A133BD
triadic
#5C33BD #BD5C33 #33BD5C
tetradic
#5C33BD #BD334F #94BD33 #33BDA1
square
#5C33BD #BD334F #94BD33 #33BDA1
split-complementary
#5C33BD #BDA133 #4FBD33
monochromatic
#2D195D #45268D #5C33BD #7E5BD3 #A48BE0

Accessibility & contrast

On white

7.88
#5C33BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5C33BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C33BD
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C33BD#FFFFFF#000000##FFFFFF
##5C33BD1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#395875
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c33bd;
/* rgb */ color: rgb(92, 51, 189);
/* oklch */ color: oklch(45.9% 0.201 289.6);
Tailwind
colors: {
  custom: {
    50: '#946fd2',
    500: '#5c33bd',
    950: '#000000',
  },
}
SCSS
$custom: #5c33bd;
$custom-light: #946fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c33bd",
  "rgb": {
    "r": 92,
    "g": 51,
    "b": 189
  },
  "hsl": {
    "h": 257.826,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45899,
    "c": 0.20105,
    "h": 289.6
  },
  "luminance": 0.08317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C33BD

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

Preview Lab → · Contrast checker → · Palette generator →

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