#22135A#22135A

#22135A is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.2% C 0.119 H 284.3°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#22135A
RGBrgb(34, 19, 90)
HSLhsl(253, 65%, 21%)
HSVhsv(253, 79%, 35%)
CMYKcmyk(62.2%, 78.9%, 0%, 64.7%)
CIE-LABlab(12.88, 28.77, -39.90)
CIE-LCHlch(12.88, 49.19, 305.79°)
OKLaboklab(26.17% 0.0294 -0.1149)
OKLCHoklch(26.17% 0.119 284.3)
XYZxyz(2.7375, 1.5438, 9.8246)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22135A #4B5A13
analogous
#13285A #22135A #46135A
triadic
#22135A #5A2213 #135A22
tetradic
#22135A #5A1328 #4B5A13 #135A46
square
#22135A #5A1328 #4B5A13 #135A46
split-complementary
#22135A #5A4613 #285A13
monochromatic
#0A0519 #0F0827 #22135A #351E8D #4828BF

Accessibility & contrast

On white

16.05
#22135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#22135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22135A
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22135A#FFFFFF#000000##FFFFFF
##22135A1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#001F59
Tritanopia (blue-blind)
#042735
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #22135a;
/* rgb */ color: rgb(34, 19, 90);
/* oklch */ color: oklch(26.2% 0.119 284.3);
Tailwind
colors: {
  custom: {
    50: '#655289',
    500: '#22135a',
    950: '#000000',
  },
}
SCSS
$custom: #22135a;
$custom-light: #655289;
$custom-dark: #000000;
JSON
{
  "hex": "#22135a",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 252.676,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26167,
    "c": 0.11862,
    "h": 284.3
  },
  "luminance": 0.01544
}

Semantic roles & 50–950 ramp

primary
#22135A
secondary
#7F9237
accent
#E840C5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #22135A

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

Preview Lab → · Contrast checker → · Palette generator →

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