#22114A#22114A

#22114A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.099 H 290.7°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#22114A
RGBrgb(34, 17, 74)
HSLhsl(258, 63%, 18%)
HSVhsv(258, 77%, 29%)
CMYKcmyk(54.1%, 77%, 0%, 71%)
CIE-LABlab(10.82, 24.63, -32.35)
CIE-LCHlch(10.82, 40.66, 307.28°)
OKLaboklab(24.2% 0.0351 -0.0928)
OKLCHoklch(24.2% 0.099 290.7)
XYZxyz(2.0958, 1.2353, 6.6052)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22114A #394A11
analogous
#111C4A #22114A #3E114A
triadic
#22114A #4A2211 #114A22
tetradic
#22114A #4A111C #394A11 #114A3E
square
#22114A #4A111C #394A11 #114A3E
split-complementary
#22114A #4A3E11 #1C4A11
monochromatic
#0B0619 #0B0619 #22114A #391C7C #5028AE

Accessibility & contrast

On white

16.84
#22114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#22114A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22114A
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22114A#FFFFFF#000000##FFFFFF
##22114A1.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#15202C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #22114a;
/* rgb */ color: rgb(34, 17, 74);
/* oklch */ color: oklch(24.2% 0.099 290.7);
Tailwind
colors: {
  custom: {
    50: '#62507d',
    500: '#22114a',
    950: '#000000',
  },
}
SCSS
$custom: #22114a;
$custom-light: #62507d;
$custom-dark: #000000;
JSON
{
  "hex": "#22114a",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 257.895,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24197,
    "c": 0.09921,
    "h": 290.7
  },
  "luminance": 0.01235
}

Semantic roles & 50–950 ramp

primary
#22114A
secondary
#6C8333
accent
#E642B5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #22114A

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

Preview Lab → · Contrast checker → · Palette generator →

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