#221434#221434

#221434 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.8% C 0.061 H 302.0°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#221434
RGBrgb(34, 20, 52)
HSLhsl(266, 44%, 14%)
HSVhsv(266, 62%, 20%)
CMYKcmyk(34.6%, 61.5%, 0%, 79.6%)
CIE-LABlab(9.71, 15.43, -18.52)
CIE-LCHlch(9.71, 24.11, 309.80°)
OKLaboklab(22.8% 0.0325 -0.0521)
OKLCHoklch(22.8% 0.061 302)
XYZxyz(1.5295, 1.0883, 3.3776)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221434 #263414
analogous
#141634 #221434 #321434
triadic
#221434 #342214 #143422
tetradic
#221434 #341416 #263414 #143432
square
#221434 #341416 #263414 #143432
split-complementary
#221434 #343214 #163414
monochromatic
#0E0916 #0E0916 #221434 #3F2560 #5C368C

Accessibility & contrast

On white

17.25
#221434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#221434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221434
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221434#FFFFFF#000000##FFFFFF
##2214341.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091B35
Deuteranopia (green-blind)
#0D1B33
Tritanopia (blue-blind)
#1F1A21
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #221434;
/* rgb */ color: rgb(34, 20, 52);
/* oklch */ color: oklch(22.8% 0.061 302.0);
Tailwind
colors: {
  custom: {
    50: '#5e526b',
    500: '#221434',
    950: '#000000',
  },
}
SCSS
$custom: #221434;
$custom-light: #5e526b;
$custom-dark: #000000;
JSON
{
  "hex": "#221434",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 52
  },
  "hsl": {
    "h": 266.25,
    "s": 44.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22802,
    "c": 0.06146,
    "h": 302
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#221434
secondary
#556B38
accent
#D4549C
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #221434

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

Preview Lab → · Contrast checker → · Palette generator →

#221434 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva