#22113A#22113A

#22113A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.076 H 299.4°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#22113A
RGBrgb(34, 17, 58)
HSLhsl(265, 55%, 15%)
HSVhsv(265, 71%, 23%)
CMYKcmyk(41.4%, 70.7%, 0%, 77.3%)
CIE-LABlab(9.37, 19.41, -23.39)
CIE-LCHlch(9.37, 30.39, 309.68°)
OKLaboklab(22.7% 0.0374 -0.0664)
OKLCHoklch(22.7% 0.076 299.4)
XYZxyz(1.6237, 1.0465, 4.1186)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22113A #293A11
analogous
#11153A #22113A #37113A
triadic
#22113A #3A2211 #113A22
tetradic
#22113A #3A1115 #293A11 #113A37
square
#22113A #3A1115 #293A11 #113A37
split-complementary
#22113A #3A3711 #153A11
monochromatic
#0E0718 #0E0718 #22113A #3E1F69 #592D99

Accessibility & contrast

On white

17.37
#22113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22113A
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22113A#FFFFFF#000000##FFFFFF
##22113A1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#031A39
Tritanopia (blue-blind)
#1D1A23
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #22113a;
/* rgb */ color: rgb(34, 17, 58);
/* oklch */ color: oklch(22.7% 0.076 299.4);
Tailwind
colors: {
  custom: {
    50: '#5f5070',
    500: '#22113a',
    950: '#000000',
  },
}
SCSS
$custom: #22113a;
$custom-light: #5f5070;
$custom-dark: #000000;
JSON
{
  "hex": "#22113a",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 264.878,
    "s": 54.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22704,
    "c": 0.07623,
    "h": 299.4
  },
  "luminance": 0.01046
}

Semantic roles & 50–950 ramp

primary
#22113A
secondary
#597333
accent
#DE4AA1
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #22113A

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

Preview Lab → · Contrast checker → · Palette generator →

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