#22116C#22116C

#22116C is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.144 H 280.1°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#22116C
RGBrgb(34, 17, 108)
HSLhsl(251, 73%, 25%)
HSVhsv(251, 84%, 42%)
CMYKcmyk(68.5%, 84.3%, 0%, 57.6%)
CIE-LABlab(14.53, 35.78, -49.13)
CIE-LCHlch(14.53, 60.78, 306.06°)
OKLaboklab(27.93% 0.0253 -0.1418)
OKLCHoklch(27.93% 0.144 280.1)
XYZxyz(3.5660, 1.8234, 14.3485)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22116C #5B6C11
analogous
#112E6C #22116C #50116C
triadic
#22116C #6C2211 #116C22
tetradic
#22116C #6C112E #5B6C11 #116C50
square
#22116C #6C112E #5B6C11 #116C50
split-complementary
#22116C #6C5011 #2E6C11
monochromatic
#08041A #110937 #22116C #3319A1 #4322D6

Accessibility & contrast

On white

15.39
#22116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#22116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22116C
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22116C#FFFFFF#000000##FFFFFF
##22116C1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286E
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #22116c;
/* rgb */ color: rgb(34, 17, 108);
/* oklch */ color: oklch(27.9% 0.144 280.1);
Tailwind
colors: {
  custom: {
    50: '#695297',
    500: '#22116c',
    950: '#000000',
  },
}
SCSS
$custom: #22116c;
$custom-light: #695297;
$custom-dark: #000000;
JSON
{
  "hex": "#22116c",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 251.209,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27928,
    "c": 0.14408,
    "h": 280.1
  },
  "luminance": 0.01824
}

Semantic roles & 50–950 ramp

primary
#22116C
secondary
#8FA435
accent
#EF38CD
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #22116C

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

Preview Lab → · Contrast checker → · Palette generator →

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