#22144B#22144B

#22144B is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.096 H 289.1°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#22144B
RGBrgb(34, 20, 75)
HSLhsl(255, 58%, 19%)
HSVhsv(255, 73%, 29%)
CMYKcmyk(54.7%, 73.3%, 0%, 70.6%)
CIE-LABlab(11.61, 23.05, -31.75)
CIE-LCHlch(11.61, 39.23, 305.97°)
OKLaboklab(24.8% 0.0315 -0.091)
OKLCHoklch(24.8% 0.096 289.1)
XYZxyz(2.1795, 1.3483, 6.8007)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22144B #3D4B14
analogous
#14214B #22144B #3D144B
triadic
#22144B #4B2214 #144B22
tetradic
#22144B #4B1421 #3D4B14 #144B3D
square
#22144B #4B1421 #3D4B14 #144B3D
split-complementary
#22144B #4B3D14 #214B14
monochromatic
#0B0618 #0C071B #22144B #38217B #4E2EAC

Accessibility & contrast

On white

16.54
#22144B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22144B
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22144B#FFFFFF#000000##FFFFFF
##22144B1.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204D
Deuteranopia (green-blind)
#001D4A
Tritanopia (blue-blind)
#14222D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #22144b;
/* rgb */ color: rgb(34, 20, 75);
/* oklch */ color: oklch(24.8% 0.096 289.1);
Tailwind
colors: {
  custom: {
    50: '#62527e',
    500: '#22144b',
    950: '#000000',
  },
}
SCSS
$custom: #22144b;
$custom-light: #62527e;
$custom-dark: #000000;
JSON
{
  "hex": "#22144b",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 75
  },
  "hsl": {
    "h": 255.273,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24796,
    "c": 0.09633,
    "h": 289.1
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#22144B
secondary
#708338
accent
#E147BA
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #22144B

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

Preview Lab → · Contrast checker → · Palette generator →

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