#5C22BD#5C22BD

#5C22BD is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.1% C 0.217 H 291.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#5C22BD
RGBrgb(92, 34, 189)
HSLhsl(262, 70%, 44%)
HSVhsv(262, 82%, 74%)
CMYKcmyk(51.3%, 82%, 0%, 25.9%)
CIE-LABlab(32.02, 58.14, -70.22)
CIE-LCHlch(32.02, 91.17, 309.62°)
OKLaboklab(44.07% 0.08 -0.2018)
OKLCHoklch(44.07% 0.217 291.6)
XYZxyz(14.1684, 7.0929, 48.7568)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C22BD #83BD22
analogous
#2235BD #5C22BD #A922BD
triadic
#5C22BD #BD5C22 #22BD5C
tetradic
#5C22BD #BD2235 #83BD22 #22BDA9
square
#5C22BD #BD2235 #83BD22 #22BDA9
split-complementary
#5C22BD #BDA922 #35BD22
monochromatic
#2A0F55 #431989 #5C22BD #7A40DD #9E73E6

Accessibility & contrast

On white

8.68
#5C22BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5C22BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C22BD
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C22BD#FFFFFF#000000##FFFFFF
##5C22BD1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#3A5171
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5c22bd;
/* rgb */ color: rgb(92, 34, 189);
/* oklch */ color: oklch(44.1% 0.217 291.6);
Tailwind
colors: {
  custom: {
    50: '#9566d2',
    500: '#5c22bd',
    950: '#000000',
  },
}
SCSS
$custom: #5c22bd;
$custom-light: #9566d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c22bd",
  "rgb": {
    "r": 92,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 262.452,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44072,
    "c": 0.21707,
    "h": 291.6
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#5C22BD
secondary
#A9CD6E
accent
#EC3BAA
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5C22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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