#220B36#220B36

#220B36 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.081 H 305.0°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#220B36
RGBrgb(34, 11, 54)
HSLhsl(272, 66%, 13%)
HSVhsv(272, 80%, 21%)
CMYKcmyk(37%, 79.6%, 0%, 78.8%)
CIE-LABlab(7.64, 21.97, -23.29)
CIE-LCHlch(7.64, 32.02, 313.33°)
OKLaboklab(21.34% 0.0463 -0.0661)
OKLCHoklch(21.34% 0.081 305)
XYZxyz(1.4451, 0.8458, 3.5764)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B36 #1F360B
analogous
#0C0B36 #220B36 #360B34
triadic
#220B36 #36220B #0B3622
tetradic
#220B36 #360C0B #1F360B #0B3436
square
#220B36 #360C0B #1F360B #0B3436
split-complementary
#220B36 #34360B #0B360C
monochromatic
#100519 #100519 #220B36 #421569 #62209C

Accessibility & contrast

On white

17.96
#220B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#220B36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220B36
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B36#FFFFFF#000000##FFFFFF
##220B361.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#011735
Tritanopia (blue-blind)
#1E151F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220b36;
/* rgb */ color: rgb(34, 11, 54);
/* oklch */ color: oklch(21.3% 0.081 305.0);
Tailwind
colors: {
  custom: {
    50: '#5f4c6d',
    500: '#220b36',
    950: '#000000',
  },
}
SCSS
$custom: #220b36;
$custom-light: #5f4c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#220b36",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 54
  },
  "hsl": {
    "h": 272.093,
    "s": 66.154,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21341,
    "c": 0.08074,
    "h": 305
  },
  "luminance": 0.00846
}

Semantic roles & 50–950 ramp

primary
#220B36
secondary
#4C732A
accent
#E93F8E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #220B36

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

Preview Lab → · Contrast checker → · Palette generator →

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