#22053A#22053A

#22053A is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.095 H 304.0°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#22053A
RGBrgb(34, 5, 58)
HSLhsl(273, 84%, 12%)
HSVhsv(273, 91%, 23%)
CMYKcmyk(41.4%, 91.4%, 0%, 77.3%)
CIE-LABlab(6.81, 26.46, -27.54)
CIE-LCHlch(6.81, 38.19, 313.85°)
OKLaboklab(20.83% 0.0533 -0.0789)
OKLCHoklch(20.83% 0.095 304)
XYZxyz(1.4775, 0.7541, 4.0699)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22053A #1D3A05
analogous
#07053A #22053A #3A0538
triadic
#22053A #3A2205 #053A22
tetradic
#22053A #3A0705 #1D3A05 #05383A
square
#22053A #3A0705 #1D3A05 #05383A
split-complementary
#22053A #383A05 #053A07
monochromatic
#11021C #11021C #22053A #430A72 #640FAB

Accessibility & contrast

On white

18.25
#22053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#22053A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22053A
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22053A#FFFFFF#000000##FFFFFF
##22053A1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#001539
Tritanopia (blue-blind)
#1D131F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #22053a;
/* rgb */ color: rgb(34, 5, 58);
/* oklch */ color: oklch(20.8% 0.095 304.0);
Tailwind
colors: {
  custom: {
    50: '#604871',
    500: '#22053a',
    950: '#000000',
  },
}
SCSS
$custom: #22053a;
$custom-light: #604871;
$custom-dark: #000000;
JSON
{
  "hex": "#22053a",
  "rgb": {
    "r": 34,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 272.83,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20834,
    "c": 0.09517,
    "h": 304
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#22053A
secondary
#497B20
accent
#FA2D8A
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #22053A

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

Preview Lab → · Contrast checker → · Palette generator →

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