#22135D#22135D

#22135D is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.123 H 283.5°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#22135D
RGBrgb(34, 19, 93)
HSLhsl(252, 66%, 22%)
HSVhsv(252, 80%, 36%)
CMYKcmyk(63.4%, 79.6%, 0%, 63.5%)
CIE-LABlab(13.21, 29.77, -41.39)
CIE-LCHlch(13.21, 50.99, 305.72°)
OKLaboklab(26.49% 0.0286 -0.1193)
OKLCHoklch(26.49% 0.123 283.5)
XYZxyz(2.8677, 1.5960, 10.5107)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22135D #4E5D13
analogous
#13295D #22135D #47135D
triadic
#22135D #5D2213 #135D22
tetradic
#22135D #5D1329 #4E5D13 #135D47
square
#22135D #5D1329 #4E5D13 #135D47
split-complementary
#22135D #5D4713 #295D13
monochromatic
#090519 #0F092A #22135D #351D90 #4728C3

Accessibility & contrast

On white

15.92
#22135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#22135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22135D
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22135D#FFFFFF#000000##FFFFFF
##22135D1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #22135d;
/* rgb */ color: rgb(34, 19, 93);
/* oklch */ color: oklch(26.5% 0.123 283.5);
Tailwind
colors: {
  custom: {
    50: '#66538c',
    500: '#22135d',
    950: '#000000',
  },
}
SCSS
$custom: #22135d;
$custom-light: #66538c;
$custom-dark: #000000;
JSON
{
  "hex": "#22135d",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 252.162,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26492,
    "c": 0.12265,
    "h": 283.5
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#22135D
secondary
#829537
accent
#E93FC7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #22135D

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

Preview Lab → · Contrast checker → · Palette generator →

#22135D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva