#22073C#22073C

#22073C is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.094 H 302.0°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#22073C
RGBrgb(34, 7, 60)
HSLhsl(271, 79%, 13%)
HSVhsv(271, 88%, 24%)
CMYKcmyk(43.3%, 88.3%, 0%, 76.5%)
CIE-LABlab(7.39, 26.00, -28.04)
CIE-LCHlch(7.39, 38.24, 312.83°)
OKLaboklab(21.33% 0.05 -0.0801)
OKLCHoklch(21.33% 0.094 302)
XYZxyz(1.5511, 0.8183, 4.3503)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22073C #213C07
analogous
#07073C #22073C #3C073B
triadic
#22073C #3C2207 #073C22
tetradic
#22073C #3C0707 #213C07 #073B3C
square
#22073C #3C0707 #213C07 #073B3C
split-complementary
#22073C #3B3C07 #073C07
monochromatic
#10031B #10031B #22073C #410D73 #6014AA

Accessibility & contrast

On white

18.05
#22073C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22073C
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22073C#FFFFFF#000000##FFFFFF
##22073C1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163D
Deuteranopia (green-blind)
#00163B
Tritanopia (blue-blind)
#1C1521
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #22073c;
/* rgb */ color: rgb(34, 7, 60);
/* oklch */ color: oklch(21.3% 0.094 302.0);
Tailwind
colors: {
  custom: {
    50: '#614a72',
    500: '#22073c',
    950: '#000000',
  },
}
SCSS
$custom: #22073c;
$custom-light: #614a72;
$custom-dark: #000000;
JSON
{
  "hex": "#22073c",
  "rgb": {
    "r": 34,
    "g": 7,
    "b": 60
  },
  "hsl": {
    "h": 270.566,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21334,
    "c": 0.09444,
    "h": 302
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#22073C
secondary
#4F7B23
accent
#F63292
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #22073C

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

Preview Lab → · Contrast checker → · Palette generator →

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