#5C22D3#5C22D3

#5C22D3 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.3% C 0.240 H 287.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#5C22D3
RGBrgb(92, 34, 211)
HSLhsl(260, 72%, 48%)
HSVhsv(260, 84%, 83%)
CMYKcmyk(56.4%, 83.9%, 0%, 17.3%)
CIE-LABlab(34.23, 63.74, -79.43)
CIE-LCHlch(34.23, 101.84, 308.75°)
OKLaboklab(46.26% 0.072 -0.2287)
OKLCHoklch(46.26% 0.24 287.5)
XYZxyz(16.7400, 8.1216, 62.3009)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C22D3 #99D322
analogous
#2240D3 #5C22D3 #B422D3
triadic
#5C22D3 #D35C22 #22D35C
tetradic
#5C22D3 #D32240 #99D322 #22D3B4
square
#5C22D3 #D32240 #99D322 #22D3B4
split-complementary
#5C22D3 #D3B422 #40D322
monochromatic
#2E116A #451A9E #5C22D3 #804FE3 #A684EB

Accessibility & contrast

On white

8.00
#5C22D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5C22D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C22D3
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C22D3#FFFFFF#000000##FFFFFF
##5C22D31.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D8
Deuteranopia (green-blind)
#004CD0
Tritanopia (blue-blind)
#235A7E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c22d3;
/* rgb */ color: rgb(92, 34, 211);
/* oklch */ color: oklch(46.3% 0.240 287.5);
Tailwind
colors: {
  custom: {
    50: '#9867e2',
    500: '#5c22d3',
    950: '#000000',
  },
}
SCSS
$custom: #5c22d3;
$custom-light: #9867e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c22d3",
  "rgb": {
    "r": 92,
    "g": 34,
    "b": 211
  },
  "hsl": {
    "h": 259.661,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46255,
    "c": 0.23977,
    "h": 287.5
  },
  "luminance": 0.08123
}

Semantic roles & 50–950 ramp

primary
#5C22D3
secondary
#B7D47D
accent
#EF39B3
background
#FAF6FE
surface
#F4EBFC
border
#CEC6D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #5C22D3

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

Preview Lab → · Contrast checker → · Palette generator →

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