#22116F#22116F

#22116F is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.148 H 279.5°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#22116F
RGBrgb(34, 17, 111)
HSLhsl(251, 73%, 25%)
HSVhsv(251, 85%, 44%)
CMYKcmyk(69.4%, 84.7%, 0%, 56.5%)
CIE-LABlab(14.89, 36.74, -50.50)
CIE-LCHlch(14.89, 62.45, 306.04°)
OKLaboklab(28.28% 0.0243 -0.1458)
OKLCHoklch(28.28% 0.148 279.5)
XYZxyz(3.7285, 1.8884, 15.2039)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22116F #5E6F11
analogous
#112F6F #22116F #51116F
triadic
#22116F #6F2211 #116F22
tetradic
#22116F #6F112F #5E6F11 #116F51
square
#22116F #6F112F #5E6F11 #116F51
split-complementary
#22116F #6F5111 #2F6F11
monochromatic
#08041B #12093A #22116F #3219A4 #4321D9

Accessibility & contrast

On white

15.24
#22116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#22116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22116F
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22116F#FFFFFF#000000##FFFFFF
##22116F1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #22116f;
/* rgb */ color: rgb(34, 17, 111);
/* oklch */ color: oklch(28.3% 0.148 279.5);
Tailwind
colors: {
  custom: {
    50: '#6a5399',
    500: '#22116f',
    950: '#000000',
  },
}
SCSS
$custom: #22116f;
$custom-light: #6a5399;
$custom-dark: #000000;
JSON
{
  "hex": "#22116f",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 250.851,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28281,
    "c": 0.14784,
    "h": 279.5
  },
  "luminance": 0.01889
}

Semantic roles & 50–950 ramp

primary
#22116F
secondary
#92A635
accent
#F038CF
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #22116F

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

Preview Lab → · Contrast checker → · Palette generator →

#22116F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva