#5C33AA#5C33AA

#5C33AA is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.179 H 293.5°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#5C33AA
RGBrgb(92, 51, 170)
HSLhsl(261, 54%, 43%)
HSVhsv(261, 70%, 67%)
CMYKcmyk(45.9%, 70%, 0%, 33.3%)
CIE-LABlab(33.02, 45.35, -57.28)
CIE-LCHlch(33.02, 73.06, 308.37°)
OKLaboklab(44.25% 0.0714 -0.164)
OKLCHoklch(44.25% 0.179 293.5)
XYZxyz(12.8512, 7.5449, 38.8016)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C33AA #81AA33
analogous
#3346AA #5C33AA #9733AA
triadic
#5C33AA #AA5C33 #33AA5C
tetradic
#5C33AA #AA3346 #81AA33 #33AA97
square
#5C33AA #AA3346 #81AA33 #33AA97
split-complementary
#5C33AA #AA9733 #46AA33
monochromatic
#29174C #43257B #5C33AA #7A50CA #9E7FD9

Accessibility & contrast

On white

8.37
#5C33AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5C33AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C33AA
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C33AA#FFFFFF#000000##FFFFFF
##5C33AA1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#45516A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5c33aa;
/* rgb */ color: rgb(92, 51, 170);
/* oklch */ color: oklch(44.3% 0.179 293.5);
Tailwind
colors: {
  custom: {
    50: '#916ec4',
    500: '#5c33aa',
    950: '#000000',
  },
}
SCSS
$custom: #5c33aa;
$custom-light: #916ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c33aa",
  "rgb": {
    "r": 92,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 260.672,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44251,
    "c": 0.17889,
    "h": 293.5
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#5C33AA
secondary
#A8C277
accent
#DD4BAB
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5C33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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