#220A3A#220A3A

#220A3A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.088 H 302.4°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#220A3A
RGBrgb(34, 10, 58)
HSLhsl(270, 71%, 13%)
HSVhsv(270, 83%, 23%)
CMYKcmyk(41.4%, 82.8%, 0%, 77.3%)
CIE-LABlab(7.79, 23.75, -25.95)
CIE-LCHlch(7.79, 35.17, 312.46°)
OKLaboklab(21.57% 0.0468 -0.0739)
OKLCHoklch(21.57% 0.088 302.4)
XYZxyz(1.5318, 0.8626, 4.0880)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A3A #223A0A
analogous
#0A0A3A #220A3A #3A0A3A
triadic
#220A3A #3A220A #0A3A22
tetradic
#220A3A #3A0A0A #223A0A #0A3A3A
square
#220A3A #3A0A0A #223A0A #0A3A3A
split-complementary
#220A3A #3A3A0A #0A3A0A
monochromatic
#0F051A #0F051A #220A3A #41136E #5F1CA2

Accessibility & contrast

On white

17.91
#220A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220A3A
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A3A#FFFFFF#000000##FFFFFF
##220A3A1.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #220a3a;
/* rgb */ color: rgb(34, 10, 58);
/* oklch */ color: oklch(21.6% 0.088 302.4);
Tailwind
colors: {
  custom: {
    50: '#604b71',
    500: '#220a3a',
    950: '#000000',
  },
}
SCSS
$custom: #220a3a;
$custom-light: #604b71;
$custom-dark: #000000;
JSON
{
  "hex": "#220a3a",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 58
  },
  "hsl": {
    "h": 270,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21566,
    "c": 0.08751,
    "h": 302.4
  },
  "luminance": 0.00863
}

Semantic roles & 50–950 ramp

primary
#220A3A
secondary
#507728
accent
#ED3A94
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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