#5D22AF#5D22AF

#5D22AF is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.9% C 0.203 H 295.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#5D22AF
RGBrgb(93, 34, 175)
HSLhsl(265, 67%, 41%)
HSVhsv(265, 81%, 69%)
CMYKcmyk(46.9%, 80.6%, 0%, 31.4%)
CIE-LABlab(30.80, 54.72, -63.90)
CIE-LCHlch(30.80, 84.13, 310.57°)
OKLaboklab(42.85% 0.0862 -0.1833)
OKLCHoklch(42.85% 0.203 295.2)
XYZxyz(12.8220, 6.5660, 41.1409)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D22AF #74AF22
analogous
#222EAF #5D22AF #A322AF
triadic
#5D22AF #AF5D22 #22AF5D
tetradic
#5D22AF #AF222E #74AF22 #22AFA3
square
#5D22AF #AF222E #74AF22 #22AFA3
split-complementary
#5D22AF #AFA322 #2EAF22
monochromatic
#270E49 #42187C #5D22AF #7A36D8 #9C69E2

Accessibility & contrast

On white

9.08
#5D22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5D22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D22AF
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D22AF#FFFFFF#000000##FFFFFF
##5D22AF1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#454B69
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5d22af;
/* rgb */ color: rgb(93, 34, 175);
/* oklch */ color: oklch(42.9% 0.203 295.2);
Tailwind
colors: {
  custom: {
    50: '#9365c8',
    500: '#5d22af',
    950: '#000000',
  },
}
SCSS
$custom: #5d22af;
$custom-light: #9365c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d22af",
  "rgb": {
    "r": 93,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 265.106,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42851,
    "c": 0.20255,
    "h": 295.2
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#5D22AF
secondary
#9EC865
accent
#EA3DA2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5D22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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