#22033B#22033B

#22033B is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.100 H 304.0°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#22033B
RGBrgb(34, 3, 59)
HSLhsl(273, 90%, 12%)
HSVhsv(273, 95%, 23%)
CMYKcmyk(42.4%, 94.9%, 0%, 76.9%)
CIE-LABlab(6.51, 27.86, -28.75)
CIE-LCHlch(6.51, 40.03, 314.10°)
OKLaboklab(20.63% 0.0556 -0.0826)
OKLCHoklch(20.63% 0.1 304)
XYZxyz(1.4815, 0.7210, 4.1979)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22033B #1C3B03
analogous
#06033B #22033B #3B0338
triadic
#22033B #3B2203 #033B22
tetradic
#22033B #3B0603 #1C3B03 #03383B
square
#22033B #3B0603 #1C3B03 #03383B
split-complementary
#22033B #383B03 #033B06
monochromatic
#11011D #11011D #22033B #440675 #6509AF

Accessibility & contrast

On white

18.35
#22033B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22033B
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22033B#FFFFFF#000000##FFFFFF
##22033B1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143C
Deuteranopia (green-blind)
#00143A
Tritanopia (blue-blind)
#1D121F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #22033b;
/* rgb */ color: rgb(34, 3, 59);
/* oklch */ color: oklch(20.6% 0.100 304.0);
Tailwind
colors: {
  custom: {
    50: '#614771',
    500: '#22033b',
    950: '#000000',
  },
}
SCSS
$custom: #22033b;
$custom-light: #614771;
$custom-dark: #000000;
JSON
{
  "hex": "#22033b",
  "rgb": {
    "r": 34,
    "g": 3,
    "b": 59
  },
  "hsl": {
    "h": 273.214,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20632,
    "c": 0.09957,
    "h": 304
  },
  "luminance": 0.00721
}

Semantic roles & 50–950 ramp

primary
#22033B
secondary
#487E1C
accent
#FF2988
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050008
muted
#79777B

Preview Lab

Preview with #22033B

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

Preview Lab → · Contrast checker → · Palette generator →

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