#22115D#22115D

#22115D is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.2% C 0.125 H 284.0°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#22115D
RGBrgb(34, 17, 93)
HSLhsl(253, 69%, 22%)
HSVhsv(253, 82%, 36%)
CMYKcmyk(63.4%, 81.7%, 0%, 63.5%)
CIE-LABlab(12.80, 30.91, -42.05)
CIE-LCHlch(12.80, 52.19, 306.32°)
OKLaboklab(26.21% 0.0301 -0.1212)
OKLCHoklch(26.21% 0.125 284)
XYZxyz(2.8353, 1.5311, 10.4999)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22115D #4C5D11
analogous
#11265D #22115D #48115D
triadic
#22115D #5D2211 #115D22
tetradic
#22115D #5D1126 #4C5D11 #115D48
square
#22115D #5D1126 #4C5D11 #115D48
split-complementary
#22115D #5D4811 #265D11
monochromatic
#09051A #0F0829 #22115D #351A91 #4824C4

Accessibility & contrast

On white

16.08
#22115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#22115D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22115D
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22115D#FFFFFF#000000##FFFFFF
##22115D1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #22115d;
/* rgb */ color: rgb(34, 17, 93);
/* oklch */ color: oklch(26.2% 0.125 284.0);
Tailwind
colors: {
  custom: {
    50: '#66518c',
    500: '#22115d',
    950: '#000000',
  },
}
SCSS
$custom: #22115d;
$custom-light: #66518c;
$custom-dark: #000000;
JSON
{
  "hex": "#22115d",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 253.421,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.2621,
    "c": 0.12488,
    "h": 284
  },
  "luminance": 0.01531
}

Semantic roles & 50–950 ramp

primary
#22115D
secondary
#809634
accent
#EC3CC5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #22115D

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

Preview Lab → · Contrast checker → · Palette generator →

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