#22133A#22133A

#22133A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.073 H 298.2°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#22133A
RGBrgb(34, 19, 58)
HSLhsl(263, 51%, 15%)
HSVhsv(263, 67%, 23%)
CMYKcmyk(41.4%, 67.2%, 0%, 77.3%)
CIE-LABlab(9.89, 18.05, -22.56)
CIE-LCHlch(9.89, 28.89, 308.65°)
OKLaboklab(23.08% 0.0344 -0.064)
OKLCHoklch(23.08% 0.073 298.2)
XYZxyz(1.6561, 1.1113, 4.1294)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22133A #2B3A13
analogous
#13173A #22133A #35133A
triadic
#22133A #3A2213 #133A22
tetradic
#22133A #3A1317 #2B3A13 #133A35
square
#22133A #3A1317 #2B3A13 #133A35
split-complementary
#22133A #3A3513 #173A13
monochromatic
#0E0817 #0E0817 #22133A #3D2268 #583196

Accessibility & contrast

On white

17.18
#22133A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#22133A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22133A
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22133A#FFFFFF#000000##FFFFFF
##22133A1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021B3B
Deuteranopia (green-blind)
#061B39
Tritanopia (blue-blind)
#1D1B24
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #22133a;
/* rgb */ color: rgb(34, 19, 58);
/* oklch */ color: oklch(23.1% 0.073 298.2);
Tailwind
colors: {
  custom: {
    50: '#5f5170',
    500: '#22133a',
    950: '#000000',
  },
}
SCSS
$custom: #22133a;
$custom-light: #5f5170;
$custom-dark: #000000;
JSON
{
  "hex": "#22133a",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 58
  },
  "hsl": {
    "h": 263.077,
    "s": 50.649,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23079,
    "c": 0.07266,
    "h": 298.2
  },
  "luminance": 0.01111
}

Semantic roles & 50–950 ramp

primary
#22133A
secondary
#5B7236
accent
#DA4EA4
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #22133A

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

Preview Lab → · Contrast checker → · Palette generator →

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