#22116E#22116E

#22116E is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.147 H 279.7°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#22116E
RGBrgb(34, 17, 110)
HSLhsl(251, 73%, 25%)
HSVhsv(251, 85%, 43%)
CMYKcmyk(69.1%, 84.5%, 0%, 56.9%)
CIE-LABlab(14.77, 36.42, -50.05)
CIE-LCHlch(14.77, 61.90, 306.05°)
OKLaboklab(28.16% 0.0247 -0.1445)
OKLCHoklch(28.16% 0.147 279.7)
XYZxyz(3.6737, 1.8665, 14.9155)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22116E #5D6E11
analogous
#112E6E #22116E #51116E
triadic
#22116E #6E2211 #116E22
tetradic
#22116E #6E112E #5D6E11 #116E51
square
#22116E #6E112E #5D6E11 #116E51
split-complementary
#22116E #6E5111 #2E6E11
monochromatic
#08041B #120939 #22116E #3219A3 #4321D8

Accessibility & contrast

On white

15.29
#22116E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#22116E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22116E
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22116E#FFFFFF#000000##FFFFFF
##22116E1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #22116e;
/* rgb */ color: rgb(34, 17, 110);
/* oklch */ color: oklch(28.2% 0.147 279.7);
Tailwind
colors: {
  custom: {
    50: '#6a5399',
    500: '#22116e',
    950: '#000000',
  },
}
SCSS
$custom: #22116e;
$custom-light: #6a5399;
$custom-dark: #000000;
JSON
{
  "hex": "#22116e",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 110
  },
  "hsl": {
    "h": 250.968,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28163,
    "c": 0.14659,
    "h": 279.7
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#22116E
secondary
#91A535
accent
#F038CE
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #22116E

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

Preview Lab → · Contrast checker → · Palette generator →

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