#220B2E#220B2E

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

Color values

HEX#220B2E
RGBrgb(34, 11, 46)
HSLhsl(279, 61%, 11%)
HSVhsv(279, 76%, 18%)
CMYKcmyk(26.1%, 76.1%, 0%, 82%)
CIE-LABlab(7.02, 19.52, -18.40)
CIE-LCHlch(7.02, 26.82, 316.68°)
OKLaboklab(20.65% 0.047 -0.052)
OKLCHoklch(20.65% 0.07 312.1)
XYZxyz(1.2724, 0.7767, 2.6671)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B2E #172E0B
analogous
#100B2E #220B2E #2E0B28
triadic
#220B2E #2E220B #0B2E22
tetradic
#220B2E #2E100B #172E0B #0B282E
square
#220B2E #2E100B #172E0B #0B282E
split-complementary
#220B2E #282E0B #0B2E10
monochromatic
#120619 #120619 #220B2E #47175F #6B2391

Accessibility & contrast

On white

18.18
#220B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220B2E
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B2E#FFFFFF#000000##FFFFFF
##220B2E1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01142F
Deuteranopia (green-blind)
#08162D
Tritanopia (blue-blind)
#21121B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #220b2e;
/* rgb */ color: rgb(34, 11, 46);
/* oklch */ color: oklch(20.7% 0.070 312.1);
Tailwind
colors: {
  custom: {
    50: '#5e4b67',
    500: '#220b2e',
    950: '#000000',
  },
}
SCSS
$custom: #220b2e;
$custom-light: #5e4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#220b2e",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 279.429,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20654,
    "c": 0.07009,
    "h": 312.1
  },
  "luminance": 0.00777
}

Semantic roles & 50–950 ramp

primary
#220B2E
secondary
#406A2A
accent
#E5437B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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