#220B3A#220B3A

#220B3A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.086 H 302.0°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#220B3A
RGBrgb(34, 11, 58)
HSLhsl(269, 68%, 14%)
HSVhsv(269, 81%, 23%)
CMYKcmyk(41.4%, 81%, 0%, 77.3%)
CIE-LABlab(7.99, 23.18, -25.62)
CIE-LCHlch(7.99, 34.55, 312.14°)
OKLaboklab(21.71% 0.0456 -0.073)
OKLCHoklch(21.71% 0.086 302)
XYZxyz(1.5429, 0.8849, 4.0917)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B3A #233A0B
analogous
#0B0B3A #220B3A #390B3A
triadic
#220B3A #3A220B #0B3A22
tetradic
#220B3A #3A0B0B #233A0B #0B3A39
square
#220B3A #3A0B0B #233A0B #0B3A39
split-complementary
#220B3A #3A390B #0B3A0B
monochromatic
#0F051A #0F051A #220B3A #40156D #5E1FA1

Accessibility & contrast

On white

17.84
#220B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#220B3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220B3A
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B3A#FFFFFF#000000##FFFFFF
##220B3A1.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#1D1621
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220b3a;
/* rgb */ color: rgb(34, 11, 58);
/* oklch */ color: oklch(21.7% 0.086 302.0);
Tailwind
colors: {
  custom: {
    50: '#604c70',
    500: '#220b3a',
    950: '#000000',
  },
}
SCSS
$custom: #220b3a;
$custom-light: #604c70;
$custom-dark: #000000;
JSON
{
  "hex": "#220b3a",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 58
  },
  "hsl": {
    "h": 269.362,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21711,
    "c": 0.08605,
    "h": 302
  },
  "luminance": 0.00885
}

Semantic roles & 50–950 ramp

primary
#220B3A
secondary
#51772A
accent
#EB3D96
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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