#220B2F#220B2F

#220B2F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.7% C 0.071 H 311.1°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#220B2F
RGBrgb(34, 11, 47)
HSLhsl(278, 62%, 11%)
HSVhsv(278, 77%, 18%)
CMYKcmyk(27.7%, 76.6%, 0%, 81.6%)
CIE-LABlab(7.09, 19.82, -19.03)
CIE-LCHlch(7.09, 27.48, 316.17°)
OKLaboklab(20.74% 0.047 -0.0538)
OKLCHoklch(20.74% 0.071 311.1)
XYZxyz(1.2924, 0.7847, 2.7722)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B2F #182F0B
analogous
#100B2F #220B2F #2F0B2A
triadic
#220B2F #2F220B #0B2F22
tetradic
#220B2F #2F100B #182F0B #0B2A2F
square
#220B2F #2F100B #182F0B #0B2A2F
split-complementary
#220B2F #2A2F0B #0B2F10
monochromatic
#120619 #120619 #220B2F #461761 #6A2292

Accessibility & contrast

On white

18.15
#220B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220B2F
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B2F#FFFFFF#000000##FFFFFF
##220B2F1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001530
Deuteranopia (green-blind)
#07162E
Tritanopia (blue-blind)
#20121B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #220b2f;
/* rgb */ color: rgb(34, 11, 47);
/* oklch */ color: oklch(20.7% 0.071 311.1);
Tailwind
colors: {
  custom: {
    50: '#5f4b68',
    500: '#220b2f',
    950: '#000000',
  },
}
SCSS
$custom: #220b2f;
$custom-light: #5f4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#220b2f",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 278.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20736,
    "c": 0.07142,
    "h": 311.1
  },
  "luminance": 0.00785
}

Semantic roles & 50–950 ramp

primary
#220B2F
secondary
#426B2A
accent
#E5437D
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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