#220B35#220B35

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

Color values

HEX#220B35
RGBrgb(34, 11, 53)
HSLhsl(273, 66%, 13%)
HSVhsv(273, 79%, 21%)
CMYKcmyk(35.8%, 79.2%, 0%, 79.2%)
CIE-LABlab(7.56, 21.66, -22.70)
CIE-LCHlch(7.56, 31.38, 313.66°)
OKLaboklab(21.25% 0.0464 -0.0644)
OKLCHoklch(21.25% 0.079 305.8)
XYZxyz(1.4218, 0.8365, 3.4540)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B35 #1E350B
analogous
#0D0B35 #220B35 #350B33
triadic
#220B35 #35220B #0B3522
tetradic
#220B35 #350D0B #1E350B #0B3335
square
#220B35 #350D0B #1E350B #0B3335
split-complementary
#220B35 #33350B #0B350D
monochromatic
#100519 #100519 #220B35 #431668 #63209A

Accessibility & contrast

On white

17.99
#220B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220B35
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B35#FFFFFF#000000##FFFFFF
##220B351.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#021734
Tritanopia (blue-blind)
#1F141E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220b35;
/* rgb */ color: rgb(34, 11, 53);
/* oklch */ color: oklch(21.3% 0.079 305.8);
Tailwind
colors: {
  custom: {
    50: '#5f4c6c',
    500: '#220b35',
    950: '#000000',
  },
}
SCSS
$custom: #220b35;
$custom-light: #5f4c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#220b35",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 53
  },
  "hsl": {
    "h": 272.857,
    "s": 65.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21251,
    "c": 0.07941,
    "h": 305.8
  },
  "luminance": 0.00836
}

Semantic roles & 50–950 ramp

primary
#220B35
secondary
#4A722A
accent
#E93F8C
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #220B35

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

Preview Lab → · Contrast checker → · Palette generator →

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