#22133B#22133B

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

Color values

HEX#22133B
RGBrgb(34, 19, 59)
HSLhsl(263, 51%, 15%)
HSVhsv(263, 68%, 23%)
CMYKcmyk(42.4%, 67.8%, 0%, 76.9%)
CIE-LABlab(9.97, 18.37, -23.15)
CIE-LCHlch(9.97, 29.55, 308.43°)
OKLaboklab(23.16% 0.0344 -0.0657)
OKLCHoklch(23.16% 0.074 297.6)
XYZxyz(1.6818, 1.1216, 4.2647)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22133B #2C3B13
analogous
#13183B #22133B #36133B
triadic
#22133B #3B2213 #133B22
tetradic
#22133B #3B1318 #2C3B13 #133B36
square
#22133B #3B1318 #2C3B13 #133B36
split-complementary
#22133B #3B3613 #183B13
monochromatic
#0D0717 #0D0717 #22133B #3D2269 #573198

Accessibility & contrast

On white

17.15
#22133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22133B
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22133B#FFFFFF#000000##FFFFFF
##22133B1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011C3C
Deuteranopia (green-blind)
#051B3A
Tritanopia (blue-blind)
#1C1B24
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #22133b;
/* rgb */ color: rgb(34, 19, 59);
/* oklch */ color: oklch(23.2% 0.074 297.6);
Tailwind
colors: {
  custom: {
    50: '#5f5171',
    500: '#22133b',
    950: '#000000',
  },
}
SCSS
$custom: #22133b;
$custom-light: #5f5171;
$custom-dark: #000000;
JSON
{
  "hex": "#22133b",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 262.5,
    "s": 51.282,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23163,
    "c": 0.07418,
    "h": 297.6
  },
  "luminance": 0.01122
}

Semantic roles & 50–950 ramp

primary
#22133B
secondary
#5D7336
accent
#DB4DA6
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #22133B

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

Preview Lab → · Contrast checker → · Palette generator →

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