#220A3B#220A3B

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

Color values

HEX#220A3B
RGBrgb(34, 10, 59)
HSLhsl(269, 71%, 14%)
HSVhsv(269, 83%, 23%)
CMYKcmyk(42.4%, 83.1%, 0%, 76.9%)
CIE-LABlab(7.88, 24.05, -26.52)
CIE-LCHlch(7.88, 35.80, 312.20°)
OKLaboklab(21.66% 0.0466 -0.0756)
OKLCHoklch(21.66% 0.089 301.6)
XYZxyz(1.5575, 0.8729, 4.2233)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A3B #233B0A
analogous
#0A0A3B #220A3B #3A0A3B
triadic
#220A3B #3B220A #0A3B22
tetradic
#220A3B #3B0A0A #233B0A #0A3B3A
square
#220A3B #3B0A0A #233B0A #0A3B3A
split-complementary
#220A3B #3B3A0A #0A3B0A
monochromatic
#0F041A #0F041A #220A3B #40136F #5E1CA4

Accessibility & contrast

On white

17.88
#220A3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220A3B
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A3B#FFFFFF#000000##FFFFFF
##220A3B1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#00173A
Tritanopia (blue-blind)
#1D1621
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220a3b;
/* rgb */ color: rgb(34, 10, 59);
/* oklch */ color: oklch(21.7% 0.089 301.6);
Tailwind
colors: {
  custom: {
    50: '#604b71',
    500: '#220a3b',
    950: '#000000',
  },
}
SCSS
$custom: #220a3b;
$custom-light: #604b71;
$custom-dark: #000000;
JSON
{
  "hex": "#220a3b",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 59
  },
  "hsl": {
    "h": 269.388,
    "s": 71.014,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21663,
    "c": 0.08882,
    "h": 301.6
  },
  "luminance": 0.00873
}

Semantic roles & 50–950 ramp

primary
#220A3B
secondary
#517828
accent
#EE3A96
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #220A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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