#22043B#22043B

#22043B is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.8% C 0.098 H 303.6°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#22043B
RGBrgb(34, 4, 59)
HSLhsl(273, 87%, 12%)
HSVhsv(273, 93%, 23%)
CMYKcmyk(42.4%, 93.2%, 0%, 76.9%)
CIE-LABlab(6.71, 27.32, -28.43)
CIE-LCHlch(6.71, 39.43, 313.86°)
OKLaboklab(20.79% 0.0542 -0.0815)
OKLCHoklch(20.79% 0.098 303.6)
XYZxyz(1.4923, 0.7427, 4.2016)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22043B #1D3B04
analogous
#06043B #22043B #3B0439
triadic
#22043B #3B2204 #043B22
tetradic
#22043B #3B0604 #1D3B04 #04393B
square
#22043B #3B0604 #1D3B04 #04393B
split-complementary
#22043B #393B04 #043B06
monochromatic
#11021D #11021D #22043B #430874 #640CAE

Accessibility & contrast

On white

18.28
#22043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#22043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22043B
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22043B#FFFFFF#000000##FFFFFF
##22043B1.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143C
Deuteranopia (green-blind)
#00153A
Tritanopia (blue-blind)
#1D1320
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #22043b;
/* rgb */ color: rgb(34, 4, 59);
/* oklch */ color: oklch(20.8% 0.098 303.6);
Tailwind
colors: {
  custom: {
    50: '#614871',
    500: '#22043b',
    950: '#000000',
  },
}
SCSS
$custom: #22043b;
$custom-light: #614871;
$custom-dark: #000000;
JSON
{
  "hex": "#22043b",
  "rgb": {
    "r": 34,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 272.727,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20786,
    "c": 0.09793,
    "h": 303.6
  },
  "luminance": 0.00743
}

Semantic roles & 50–950 ramp

primary
#22043B
secondary
#497D1E
accent
#FD2A8A
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050008
muted
#79777B

Preview Lab

Preview with #22043B

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

Preview Lab → · Contrast checker → · Palette generator →

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