#22073A#22073A

#22073A is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.092 H 303.4°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#22073A
RGBrgb(34, 7, 58)
HSLhsl(272, 78%, 13%)
HSVhsv(272, 88%, 23%)
CMYKcmyk(41.4%, 87.9%, 0%, 77.3%)
CIE-LABlab(7.20, 25.38, -26.90)
CIE-LCHlch(7.20, 36.98, 313.33°)
OKLaboklab(21.13% 0.0506 -0.0768)
OKLCHoklch(21.13% 0.092 303.4)
XYZxyz(1.4992, 0.7975, 4.0771)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22073A #1F3A07
analogous
#09073A #22073A #3A0738
triadic
#22073A #3A2207 #073A22
tetradic
#22073A #3A0907 #1F3A07 #07383A
square
#22073A #3A0907 #1F3A07 #07383A
split-complementary
#22073A #383A07 #073A09
monochromatic
#10031B #10031B #22073A #420E71 #6214A7

Accessibility & contrast

On white

18.11
#22073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#22073A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22073A
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22073A#FFFFFF#000000##FFFFFF
##22073A1.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#1D1420
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #22073a;
/* rgb */ color: rgb(34, 7, 58);
/* oklch */ color: oklch(21.1% 0.092 303.4);
Tailwind
colors: {
  custom: {
    50: '#604a71',
    500: '#22073a',
    950: '#000000',
  },
}
SCSS
$custom: #22073a;
$custom-light: #604a71;
$custom-dark: #000000;
JSON
{
  "hex": "#22073a",
  "rgb": {
    "r": 34,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 271.765,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21133,
    "c": 0.09201,
    "h": 303.4
  },
  "luminance": 0.00798
}

Semantic roles & 50–950 ramp

primary
#22073A
secondary
#4C7923
accent
#F5338E
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #22073A

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

Preview Lab → · Contrast checker → · Palette generator →

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