#22033A#22033A

#22033A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.098 H 304.7°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#22033A
RGBrgb(34, 3, 58)
HSLhsl(274, 90%, 12%)
HSVhsv(274, 95%, 23%)
CMYKcmyk(41.4%, 94.8%, 0%, 77.3%)
CIE-LABlab(6.42, 27.54, -28.18)
CIE-LCHlch(6.42, 39.40, 314.34°)
OKLaboklab(20.53% 0.056 -0.081)
OKLCHoklch(20.53% 0.098 304.7)
XYZxyz(1.4558, 0.7107, 4.0627)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22033A #1B3A03
analogous
#06033A #22033A #3A0337
triadic
#22033A #3A2203 #033A22
tetradic
#22033A #3A0603 #1B3A03 #03373A
square
#22033A #3A0603 #1B3A03 #03373A
split-complementary
#22033A #373A03 #033A06
monochromatic
#11021D #11021D #22033A #440674 #6609AE

Accessibility & contrast

On white

18.39
#22033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#22033A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22033A
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22033A#FFFFFF#000000##FFFFFF
##22033A1.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133B
Deuteranopia (green-blind)
#001439
Tritanopia (blue-blind)
#1D121F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #22033a;
/* rgb */ color: rgb(34, 3, 58);
/* oklch */ color: oklch(20.5% 0.098 304.7);
Tailwind
colors: {
  custom: {
    50: '#614771',
    500: '#22033a',
    950: '#000000',
  },
}
SCSS
$custom: #22033a;
$custom-light: #614771;
$custom-dark: #000000;
JSON
{
  "hex": "#22033a",
  "rgb": {
    "r": 34,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 273.818,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20525,
    "c": 0.09847,
    "h": 304.7
  },
  "luminance": 0.00711
}

Semantic roles & 50–950 ramp

primary
#22033A
secondary
#467D1C
accent
#FF2986
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050007
muted
#79777A

Preview Lab

Preview with #22033A

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

Preview Lab → · Contrast checker → · Palette generator →

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