#5E22BD#5E22BD

#5E22BD is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.217 H 292.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#5E22BD
RGBrgb(94, 34, 189)
HSLhsl(263, 70%, 44%)
HSVhsv(263, 82%, 74%)
CMYKcmyk(50.3%, 82%, 0%, 25.9%)
CIE-LABlab(32.25, 58.39, -69.83)
CIE-LCHlch(32.25, 91.02, 309.90°)
OKLaboklab(44.29% 0.0831 -0.2006)
OKLCHoklch(44.29% 0.217 292.5)
XYZxyz(14.3708, 7.1973, 48.7663)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E22BD #81BD22
analogous
#2233BD #5E22BD #AB22BD
triadic
#5E22BD #BD5E22 #22BD5E
tetradic
#5E22BD #BD2233 #81BD22 #22BDAB
square
#5E22BD #BD2233 #81BD22 #22BDAB
split-complementary
#5E22BD #BDAB22 #33BD22
monochromatic
#2A0F55 #441989 #5E22BD #7C40DD #A073E6

Accessibility & contrast

On white

8.61
#5E22BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5E22BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E22BD
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E22BD#FFFFFF#000000##FFFFFF
##5E22BD1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#3E5071
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e22bd;
/* rgb */ color: rgb(94, 34, 189);
/* oklch */ color: oklch(44.3% 0.217 292.5);
Tailwind
colors: {
  custom: {
    50: '#9666d2',
    500: '#5e22bd',
    950: '#000000',
  },
}
SCSS
$custom: #5e22bd;
$custom-light: #9666d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e22bd",
  "rgb": {
    "r": 94,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 263.226,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44287,
    "c": 0.21711,
    "h": 292.5
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#5E22BD
secondary
#A8CD6E
accent
#EC3BA8
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0F0614
muted
#7E7A83

Preview Lab

Preview with #5E22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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