#5E22AF#5E22AF

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

Color values

HEX#5E22AF
RGBrgb(94, 34, 175)
HSLhsl(266, 67%, 41%)
HSVhsv(266, 81%, 69%)
CMYKcmyk(46.3%, 80.6%, 0%, 31.4%)
CIE-LABlab(30.92, 54.86, -63.69)
CIE-LCHlch(30.92, 84.06, 310.74°)
OKLaboklab(42.97% 0.0878 -0.1826)
OKLCHoklch(42.97% 0.203 295.7)
XYZxyz(12.9239, 6.6186, 41.1457)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E22AF #73AF22
analogous
#222CAF #5E22AF #A422AF
triadic
#5E22AF #AF5E22 #22AF5E
tetradic
#5E22AF #AF222C #73AF22 #22AFA4
square
#5E22AF #AF222C #73AF22 #22AFA4
split-complementary
#5E22AF #AFA422 #2CAF22
monochromatic
#270E49 #42187C #5E22AF #7B36D8 #9D69E2

Accessibility & contrast

On white

9.04
#5E22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5E22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E22AF
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E22AF#FFFFFF#000000##FFFFFF
##5E22AF1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#474A69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5e22af;
/* rgb */ color: rgb(94, 34, 175);
/* oklch */ color: oklch(43.0% 0.203 295.7);
Tailwind
colors: {
  custom: {
    50: '#9465c8',
    500: '#5e22af',
    950: '#000000',
  },
}
SCSS
$custom: #5e22af;
$custom-light: #9465c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e22af",
  "rgb": {
    "r": 94,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 265.532,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42965,
    "c": 0.20262,
    "h": 295.7
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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