#22113C#22113C

#22113C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.9% C 0.079 H 298.1°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#22113C
RGBrgb(34, 17, 60)
HSLhsl(264, 56%, 15%)
HSVhsv(264, 72%, 24%)
CMYKcmyk(43.3%, 71.7%, 0%, 76.5%)
CIE-LABlab(9.54, 20.05, -24.56)
CIE-LCHlch(9.54, 31.70, 309.23°)
OKLaboklab(22.88% 0.0372 -0.0699)
OKLCHoklch(22.88% 0.079 298.1)
XYZxyz(1.6755, 1.0672, 4.3918)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22113C #2B3C11
analogous
#11153C #22113C #37113C
triadic
#22113C #3C2211 #113C22
tetradic
#22113C #3C1115 #2B3C11 #113C37
square
#22113C #3C1115 #2B3C11 #113C37
split-complementary
#22113C #3C3711 #153C11
monochromatic
#0E0718 #0E0718 #22113C #3D1F6C #582C9B

Accessibility & contrast

On white

17.31
#22113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#22113C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22113C
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22113C#FFFFFF#000000##FFFFFF
##22113C1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#011A3B
Tritanopia (blue-blind)
#1C1A24
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #22113c;
/* rgb */ color: rgb(34, 17, 60);
/* oklch */ color: oklch(22.9% 0.079 298.1);
Tailwind
colors: {
  custom: {
    50: '#605072',
    500: '#22113c',
    950: '#000000',
  },
}
SCSS
$custom: #22113c;
$custom-light: #605072;
$custom-dark: #000000;
JSON
{
  "hex": "#22113c",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 263.721,
    "s": 55.844,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22878,
    "c": 0.07917,
    "h": 298.1
  },
  "luminance": 0.01067
}

Semantic roles & 50–950 ramp

primary
#22113C
secondary
#5B7533
accent
#DF49A4
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050208
muted
#79787B

Preview Lab

Preview with #22113C

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

Preview Lab → · Contrast checker → · Palette generator →

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