#22092F#22092F

#22092F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.075 H 311.8°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#22092F
RGBrgb(34, 9, 47)
HSLhsl(279, 68%, 11%)
HSVhsv(279, 81%, 18%)
CMYKcmyk(27.7%, 80.9%, 0%, 81.6%)
CIE-LABlab(6.69, 20.86, -19.66)
CIE-LCHlch(6.69, 28.66, 316.69°)
OKLaboklab(20.42% 0.05 -0.0558)
OKLCHoklch(20.42% 0.075 311.8)
XYZxyz(1.2704, 0.7407, 2.7648)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22092F #162F09
analogous
#0F092F #22092F #2F0929
triadic
#22092F #2F2209 #092F22
tetradic
#22092F #2F0F09 #162F09 #09292F
square
#22092F #2F0F09 #162F09 #09292F
split-complementary
#22092F #292F09 #092F0F
monochromatic
#13051A #13051A #22092F #471362 #6C1D96

Accessibility & contrast

On white

18.29
#22092F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#22092F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22092F
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22092F#FFFFFF#000000##FFFFFF
##22092F1.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#06152E
Tritanopia (blue-blind)
#20111A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #22092f;
/* rgb */ color: rgb(34, 9, 47);
/* oklch */ color: oklch(20.4% 0.075 311.8);
Tailwind
colors: {
  custom: {
    50: '#5f4a68',
    500: '#22092f',
    950: '#000000',
  },
}
SCSS
$custom: #22092f;
$custom-light: #5f4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#22092f",
  "rgb": {
    "r": 34,
    "g": 9,
    "b": 47
  },
  "hsl": {
    "h": 279.474,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2042,
    "c": 0.07495,
    "h": 311.8
  },
  "luminance": 0.00741
}

Semantic roles & 50–950 ramp

primary
#22092F
secondary
#3F6D27
accent
#EB3D78
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #22092F

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

Preview Lab → · Contrast checker → · Palette generator →

#22092F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva