#220B33#220B33

#220B33 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.077 H 307.5°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#220B33
RGBrgb(34, 11, 51)
HSLhsl(275, 65%, 12%)
HSVhsv(275, 78%, 20%)
CMYKcmyk(33.3%, 78.4%, 0%, 80%)
CIE-LABlab(7.39, 21.05, -21.49)
CIE-LCHlch(7.39, 30.09, 314.40°)
OKLaboklab(21.08% 0.0467 -0.0609)
OKLCHoklch(21.08% 0.077 307.5)
XYZxyz(1.3768, 0.8185, 3.2168)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B33 #1C330B
analogous
#0E0B33 #220B33 #330B30
triadic
#220B33 #33220B #0B3322
tetradic
#220B33 #330E0B #1C330B #0B3033
square
#220B33 #330E0B #1C330B #0B3033
split-complementary
#220B33 #30330B #0B330E
monochromatic
#110519 #110519 #220B33 #441665 #652198

Accessibility & contrast

On white

18.05
#220B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#220B33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220B33
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B33#FFFFFF#000000##FFFFFF
##220B331.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#041732
Tritanopia (blue-blind)
#1F131D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #220b33;
/* rgb */ color: rgb(34, 11, 51);
/* oklch */ color: oklch(21.1% 0.077 307.5);
Tailwind
colors: {
  custom: {
    50: '#5f4b6b',
    500: '#220b33',
    950: '#000000',
  },
}
SCSS
$custom: #220b33;
$custom-light: #5f4b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#220b33",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 51
  },
  "hsl": {
    "h": 274.5,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21075,
    "c": 0.07675,
    "h": 307.5
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#220B33
secondary
#48702A
accent
#E84087
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #220B33

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

Preview Lab → · Contrast checker → · Palette generator →

#220B33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva