#22133C#22133C

#22133C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.076 H 297.0°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#22133C
RGBrgb(34, 19, 60)
HSLhsl(262, 52%, 15%)
HSVhsv(262, 68%, 24%)
CMYKcmyk(43.3%, 68.3%, 0%, 76.5%)
CIE-LABlab(10.05, 18.70, -23.74)
CIE-LCHlch(10.05, 30.22, 308.22°)
OKLaboklab(23.25% 0.0343 -0.0675)
OKLCHoklch(23.25% 0.076 297)
XYZxyz(1.7080, 1.1320, 4.4026)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22133C #2D3C13
analogous
#13183C #22133C #36133C
triadic
#22133C #3C2213 #133C22
tetradic
#22133C #3C1318 #2D3C13 #133C36
square
#22133C #3C1318 #2D3C13 #133C36
split-complementary
#22133C #3C3613 #183C13
monochromatic
#0D0717 #0D0717 #22133C #3C226A #573099

Accessibility & contrast

On white

17.12
#22133C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#22133C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22133C
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22133C#FFFFFF#000000##FFFFFF
##22133C1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3D
Deuteranopia (green-blind)
#041B3B
Tritanopia (blue-blind)
#1C1C25
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #22133c;
/* rgb */ color: rgb(34, 19, 60);
/* oklch */ color: oklch(23.2% 0.076 297.0);
Tailwind
colors: {
  custom: {
    50: '#5f5172',
    500: '#22133c',
    950: '#000000',
  },
}
SCSS
$custom: #22133c;
$custom-light: #5f5172;
$custom-dark: #000000;
JSON
{
  "hex": "#22133c",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 60
  },
  "hsl": {
    "h": 261.951,
    "s": 51.899,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23248,
    "c": 0.0757,
    "h": 297
  },
  "luminance": 0.01132
}

Semantic roles & 50–950 ramp

primary
#22133C
secondary
#5E7436
accent
#DB4CA7
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050208
muted
#79787B

Preview Lab

Preview with #22133C

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

Preview Lab → · Contrast checker → · Palette generator →

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