#5C33AB#5C33AB

#5C33AB is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.180 H 293.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#5C33AB
RGBrgb(92, 51, 171)
HSLhsl(261, 54%, 44%)
HSVhsv(261, 70%, 67%)
CMYKcmyk(46.2%, 70.2%, 0%, 32.9%)
CIE-LABlab(33.10, 45.63, -57.75)
CIE-LCHlch(33.10, 73.60, 308.31°)
OKLaboklab(44.34% 0.0712 -0.1654)
OKLCHoklch(44.34% 0.18 293.3)
XYZxyz(12.9461, 7.5828, 39.3017)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C33AB #82AB33
analogous
#3346AB #5C33AB #9833AB
triadic
#5C33AB #AB5C33 #33AB5C
tetradic
#5C33AB #AB3346 #82AB33 #33AB98
square
#5C33AB #AB3346 #82AB33 #33AB98
split-complementary
#5C33AB #AB9833 #46AB33
monochromatic
#29174D #43257C #5C33AB #7A50CB #9E7FD9

Accessibility & contrast

On white

8.34
#5C33AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5C33AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C33AB
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C33AB#FFFFFF#000000##FFFFFF
##5C33AB1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#45516B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5c33ab;
/* rgb */ color: rgb(92, 51, 171);
/* oklch */ color: oklch(44.3% 0.180 293.3);
Tailwind
colors: {
  custom: {
    50: '#916ec5',
    500: '#5c33ab',
    950: '#000000',
  },
}
SCSS
$custom: #5c33ab;
$custom-light: #916ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c33ab",
  "rgb": {
    "r": 92,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 260.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44335,
    "c": 0.18007,
    "h": 293.3
  },
  "luminance": 0.07583
}

Semantic roles & 50–950 ramp

primary
#5C33AB
secondary
#A9C278
accent
#DD4AAB
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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