#22135B#22135B

#22135B is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.120 H 284.0°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#22135B
RGBrgb(34, 19, 91)
HSLhsl(253, 65%, 22%)
HSVhsv(253, 79%, 36%)
CMYKcmyk(62.6%, 79.1%, 0%, 64.3%)
CIE-LABlab(12.99, 29.10, -40.40)
CIE-LCHlch(12.99, 49.79, 305.76°)
OKLaboklab(26.28% 0.0291 -0.1164)
OKLCHoklch(26.28% 0.12 284)
XYZxyz(2.7803, 1.5610, 10.0503)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22135B #4C5B13
analogous
#13285B #22135B #46135B
triadic
#22135B #5B2213 #135B22
tetradic
#22135B #5B1328 #4C5B13 #135B46
square
#22135B #5B1328 #4C5B13 #135B46
split-complementary
#22135B #5B4613 #285B13
monochromatic
#090519 #0F0828 #22135B #351E8E #4828C0

Accessibility & contrast

On white

16.00
#22135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22135B
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22135B#FFFFFF#000000##FFFFFF
##22135B1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245D
Deuteranopia (green-blind)
#001F5A
Tritanopia (blue-blind)
#032736
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #22135b;
/* rgb */ color: rgb(34, 19, 91);
/* oklch */ color: oklch(26.3% 0.120 284.0);
Tailwind
colors: {
  custom: {
    50: '#65528a',
    500: '#22135b',
    950: '#000000',
  },
}
SCSS
$custom: #22135b;
$custom-light: #65528a;
$custom-dark: #000000;
JSON
{
  "hex": "#22135b",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 252.5,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26275,
    "c": 0.11997,
    "h": 284
  },
  "luminance": 0.01561
}

Semantic roles & 50–950 ramp

primary
#22135B
secondary
#809337
accent
#E83FC5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #22135B

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

Preview Lab → · Contrast checker → · Palette generator →

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