#22043A#22043A

#22043A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.7% C 0.097 H 304.4°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#22043A
RGBrgb(34, 4, 58)
HSLhsl(273, 87%, 12%)
HSVhsv(273, 93%, 23%)
CMYKcmyk(41.4%, 93.1%, 0%, 77.3%)
CIE-LABlab(6.62, 27.00, -27.86)
CIE-LCHlch(6.62, 38.79, 314.10°)
OKLaboklab(20.68% 0.0546 -0.0799)
OKLCHoklch(20.68% 0.097 304.4)
XYZxyz(1.4666, 0.7324, 4.0663)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22043A #1C3A04
analogous
#07043A #22043A #3A0437
triadic
#22043A #3A2204 #043A22
tetradic
#22043A #3A0704 #1C3A04 #04373A
square
#22043A #3A0704 #1C3A04 #04373A
split-complementary
#22043A #373A04 #043A07
monochromatic
#11021D #11021D #22043A #440873 #650CAD

Accessibility & contrast

On white

18.32
#22043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22043A
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22043A#FFFFFF#000000##FFFFFF
##22043A1.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#001539
Tritanopia (blue-blind)
#1D121F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #22043a;
/* rgb */ color: rgb(34, 4, 58);
/* oklch */ color: oklch(20.7% 0.097 304.4);
Tailwind
colors: {
  custom: {
    50: '#604871',
    500: '#22043a',
    950: '#000000',
  },
}
SCSS
$custom: #22043a;
$custom-light: #604871;
$custom-dark: #000000;
JSON
{
  "hex": "#22043a",
  "rgb": {
    "r": 34,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 273.333,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20681,
    "c": 0.0968,
    "h": 304.4
  },
  "luminance": 0.00732
}

Semantic roles & 50–950 ramp

primary
#22043A
secondary
#487C1E
accent
#FD2B88
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050007
muted
#79777A

Preview Lab

Preview with #22043A

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

Preview Lab → · Contrast checker → · Palette generator →

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