#22144A#22144A

#22144A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.095 H 289.5°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#22144A
RGBrgb(34, 20, 74)
HSLhsl(256, 57%, 18%)
HSVhsv(256, 73%, 29%)
CMYKcmyk(54.1%, 73%, 0%, 71%)
CIE-LABlab(11.52, 22.70, -31.21)
CIE-LCHlch(11.52, 38.59, 306.04°)
OKLaboklab(24.7% 0.0317 -0.0894)
OKLCHoklch(24.7% 0.095 289.5)
XYZxyz(2.1455, 1.3347, 6.6218)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22144A #3C4A14
analogous
#14214A #22144A #3D144A
triadic
#22144A #4A2214 #144A22
tetradic
#22144A #4A1421 #3C4A14 #144A3D
square
#22144A #4A1421 #3C4A14 #144A3D
split-complementary
#22144A #4A3D14 #214A14
monochromatic
#0B0718 #0C071A #22144A #38217A #4E2EAA

Accessibility & contrast

On white

16.57
#22144A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#22144A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22144A
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22144A#FFFFFF#000000##FFFFFF
##22144A1.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#15212D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #22144a;
/* rgb */ color: rgb(34, 20, 74);
/* oklch */ color: oklch(24.7% 0.095 289.5);
Tailwind
colors: {
  custom: {
    50: '#62527d',
    500: '#22144a',
    950: '#000000',
  },
}
SCSS
$custom: #22144a;
$custom-light: #62527d;
$custom-dark: #000000;
JSON
{
  "hex": "#22144a",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 74
  },
  "hsl": {
    "h": 255.556,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.247,
    "c": 0.09488,
    "h": 289.5
  },
  "luminance": 0.01335
}

Semantic roles & 50–950 ramp

primary
#22144A
secondary
#6F8238
accent
#E147B9
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #22144A

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

Preview Lab → · Contrast checker → · Palette generator →

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