#22053C#22053C

#22053C is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.097 H 302.6°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#22053C
RGBrgb(34, 5, 60)
HSLhsl(272, 85%, 13%)
HSVhsv(272, 92%, 24%)
CMYKcmyk(43.3%, 91.7%, 0%, 76.5%)
CIE-LABlab(7.00, 27.09, -28.68)
CIE-LCHlch(7.00, 39.45, 313.37°)
OKLaboklab(21.04% 0.0525 -0.0821)
OKLCHoklch(21.04% 0.097 302.6)
XYZxyz(1.5294, 0.7749, 4.3431)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22053C #1F3C05
analogous
#06053C #22053C #3C053A
triadic
#22053C #3C2205 #053C22
tetradic
#22053C #3C0605 #1F3C05 #053A3C
square
#22053C #3C0605 #1F3C05 #053A3C
split-complementary
#22053C #3A3C05 #053C06
monochromatic
#10021C #10021C #22053C #420A74 #620EAD

Accessibility & contrast

On white

18.18
#22053C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#22053C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22053C
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22053C#FFFFFF#000000##FFFFFF
##22053C1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153D
Deuteranopia (green-blind)
#00153B
Tritanopia (blue-blind)
#1C1421
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #22053c;
/* rgb */ color: rgb(34, 5, 60);
/* oklch */ color: oklch(21.0% 0.097 302.6);
Tailwind
colors: {
  custom: {
    50: '#614972',
    500: '#22053c',
    950: '#000000',
  },
}
SCSS
$custom: #22053c;
$custom-light: #614972;
$custom-dark: #000000;
JSON
{
  "hex": "#22053c",
  "rgb": {
    "r": 34,
    "g": 5,
    "b": 60
  },
  "hsl": {
    "h": 271.636,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21041,
    "c": 0.09749,
    "h": 302.6
  },
  "luminance": 0.00775
}

Semantic roles & 50–950 ramp

primary
#22053C
secondary
#4C7D20
accent
#FB2D8E
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #22053C

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

Preview Lab → · Contrast checker → · Palette generator →

#22053C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva