#5C33A2#5C33A2

#5C33A2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.6% C 0.169 H 295.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#5C33A2
RGBrgb(92, 51, 162)
HSLhsl(262, 52%, 42%)
HSVhsv(262, 69%, 64%)
CMYKcmyk(43.2%, 68.5%, 0%, 36.5%)
CIE-LABlab(32.37, 43.15, -53.52)
CIE-LCHlch(32.37, 68.75, 308.87°)
OKLaboklab(43.59% 0.0727 -0.1529)
OKLCHoklch(43.59% 0.169 295.4)
XYZxyz(12.1173, 7.2513, 34.9366)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C33A2 #79A233
analogous
#3342A2 #5C33A2 #9433A2
triadic
#5C33A2 #A25C33 #33A25C
tetradic
#5C33A2 #A23342 #79A233 #33A294
square
#5C33A2 #A23342 #79A233 #33A294
split-complementary
#5C33A2 #A29433 #42A233
monochromatic
#271645 #422473 #5C33A2 #794CC7 #9C7AD5

Accessibility & contrast

On white

8.57
#5C33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5C33A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C33A2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C33A2#FFFFFF#000000##FFFFFF
##5C33A21.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#494E66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c33a2;
/* rgb */ color: rgb(92, 51, 162);
/* oklch */ color: oklch(43.6% 0.169 295.4);
Tailwind
colors: {
  custom: {
    50: '#906ebe',
    500: '#5c33a2',
    950: '#000000',
  },
}
SCSS
$custom: #5c33a2;
$custom-light: #906ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#5c33a2",
  "rgb": {
    "r": 92,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 262.162,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43589,
    "c": 0.16936,
    "h": 295.4
  },
  "luminance": 0.07252
}

Semantic roles & 50–950 ramp

primary
#5C33A2
secondary
#A2BE73
accent
#DC4CA7
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5C33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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