#5C22A9#5C22A9

#5C22A9 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.196 H 296.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#5C22A9
RGBrgb(92, 34, 169)
HSLhsl(266, 67%, 40%)
HSVhsv(266, 80%, 66%)
CMYKcmyk(45.6%, 79.9%, 0%, 33.7%)
CIE-LABlab(30.12, 53.06, -61.42)
CIE-LCHlch(30.12, 81.17, 310.82°)
OKLaboklab(42.18% 0.0866 -0.1761)
OKLCHoklch(42.18% 0.196 296.2)
XYZxyz(12.1452, 6.2837, 38.1014)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C22A9 #6FA922
analogous
#222BA9 #5C22A9 #A022A9
triadic
#5C22A9 #A95C22 #22A95C
tetradic
#5C22A9 #A9222B #6FA922 #22A9A0
square
#5C22A9 #A9222B #6FA922 #22A9A0
split-complementary
#5C22A9 #A9A022 #2BA922
monochromatic
#250D43 #401876 #5C22A9 #7932D6 #9A65E0

Accessibility & contrast

On white

9.31
#5C22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5C22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C22A9
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C22A9#FFFFFF#000000##FFFFFF
##5C22A91.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#474866
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5c22a9;
/* rgb */ color: rgb(92, 34, 169);
/* oklch */ color: oklch(42.2% 0.196 296.2);
Tailwind
colors: {
  custom: {
    50: '#9265c4',
    500: '#5c22a9',
    950: '#000000',
  },
}
SCSS
$custom: #5c22a9;
$custom-light: #9265c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c22a9",
  "rgb": {
    "r": 92,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 265.778,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42181,
    "c": 0.19619,
    "h": 296.2
  },
  "luminance": 0.06284
}

Semantic roles & 50–950 ramp

primary
#5C22A9
secondary
#9AC561
accent
#E93EA0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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