#22043F#22043F

#22043F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.102 H 300.9°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#22043F
RGBrgb(34, 4, 63)
HSLhsl(271, 88%, 13%)
HSVhsv(271, 94%, 25%)
CMYKcmyk(46%, 93.7%, 0%, 75.3%)
CIE-LABlab(7.10, 28.59, -30.68)
CIE-LCHlch(7.10, 41.93, 312.98°)
OKLaboklab(21.21% 0.0526 -0.0879)
OKLCHoklch(21.21% 0.102 300.9)
XYZxyz(1.6001, 0.7858, 4.7690)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22043F #213F04
analogous
#04043F #22043F #3F043E
triadic
#22043F #3F2204 #043F22
tetradic
#22043F #3F0404 #213F04 #043E3F
square
#22043F #3F0404 #213F04 #043E3F
split-complementary
#22043F #3E3F04 #043F04
monochromatic
#10021D #10021D #22043F #410879 #600BB2

Accessibility & contrast

On white

18.15
#22043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#22043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22043F
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22043F#FFFFFF#000000##FFFFFF
##22043F1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#1B1422
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #22043f;
/* rgb */ color: rgb(34, 4, 63);
/* oklch */ color: oklch(21.2% 0.102 300.9);
Tailwind
colors: {
  custom: {
    50: '#614875',
    500: '#22043f',
    950: '#000000',
  },
}
SCSS
$custom: #22043f;
$custom-light: #614875;
$custom-dark: #000000;
JSON
{
  "hex": "#22043f",
  "rgb": {
    "r": 34,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 270.508,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21214,
    "c": 0.10246,
    "h": 300.9
  },
  "luminance": 0.00786
}

Semantic roles & 50–950 ramp

primary
#22043F
secondary
#4F801E
accent
#FE2A92
background
#F6F4F7
surface
#EBE6ED
border
#C6C2C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #22043F

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

Preview Lab → · Contrast checker → · Palette generator →

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