#220A39#220A39

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

Color values

HEX#220A39
RGBrgb(34, 10, 57)
HSLhsl(271, 70%, 13%)
HSVhsv(271, 82%, 22%)
CMYKcmyk(40.4%, 82.5%, 0%, 77.6%)
CIE-LABlab(7.70, 23.44, -25.37)
CIE-LCHlch(7.70, 34.54, 312.73°)
OKLaboklab(21.47% 0.047 -0.0722)
OKLCHoklch(21.47% 0.086 303.1)
XYZxyz(1.5066, 0.8526, 3.9553)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A39 #21390A
analogous
#0A0A39 #220A39 #390A38
triadic
#220A39 #39220A #0A3922
tetradic
#220A39 #390A0A #21390A #0A3839
square
#220A39 #390A0A #21390A #0A3839
split-complementary
#220A39 #38390A #0A390A
monochromatic
#10051A #10051A #220A39 #41136D #601CA1

Accessibility & contrast

On white

17.94
#220A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220A39
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A39#FFFFFF#000000##FFFFFF
##220A391.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#001738
Tritanopia (blue-blind)
#1D1520
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220a39;
/* rgb */ color: rgb(34, 10, 57);
/* oklch */ color: oklch(21.5% 0.086 303.1);
Tailwind
colors: {
  custom: {
    50: '#604b70',
    500: '#220a39',
    950: '#000000',
  },
}
SCSS
$custom: #220a39;
$custom-light: #604b70;
$custom-dark: #000000;
JSON
{
  "hex": "#220a39",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 57
  },
  "hsl": {
    "h": 270.638,
    "s": 70.149,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21471,
    "c": 0.08621,
    "h": 303.1
  },
  "luminance": 0.00853
}

Semantic roles & 50–950 ramp

primary
#220A39
secondary
#4F7628
accent
#ED3B92
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220A39

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

Preview Lab → · Contrast checker → · Palette generator →

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