#22115E#22115E

#22115E is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.3% C 0.126 H 283.7°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#22115E
RGBrgb(34, 17, 94)
HSLhsl(253, 69%, 22%)
HSVhsv(253, 82%, 37%)
CMYKcmyk(63.8%, 81.9%, 0%, 63.1%)
CIE-LABlab(12.92, 31.24, -42.54)
CIE-LCHlch(12.92, 52.78, 306.29°)
OKLaboklab(26.32% 0.0298 -0.1226)
OKLCHoklch(26.32% 0.126 283.7)
XYZxyz(2.8799, 1.5489, 10.7347)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22115E #4D5E11
analogous
#11275E #22115E #49115E
triadic
#22115E #5E2211 #115E22
tetradic
#22115E #5E1127 #4D5E11 #115E49
square
#22115E #5E1127 #4D5E11 #115E49
split-complementary
#22115E #5E4911 #275E11
monochromatic
#09051A #0F082A #22115E #351A92 #4724C6

Accessibility & contrast

On white

16.03
#22115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22115E
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22115E#FFFFFF#000000##FFFFFF
##22115E1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #22115e;
/* rgb */ color: rgb(34, 17, 94);
/* oklch */ color: oklch(26.3% 0.126 283.7);
Tailwind
colors: {
  custom: {
    50: '#66518d',
    500: '#22115e',
    950: '#000000',
  },
}
SCSS
$custom: #22115e;
$custom-light: #66518d;
$custom-dark: #000000;
JSON
{
  "hex": "#22115e",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 253.247,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26321,
    "c": 0.12618,
    "h": 283.7
  },
  "luminance": 0.01549
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22115E

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

Preview Lab → · Contrast checker → · Palette generator →

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