#220A36#220A36

#220A36 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.082 H 305.3°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#220A36
RGBrgb(34, 10, 54)
HSLhsl(273, 69%, 13%)
HSVhsv(273, 81%, 21%)
CMYKcmyk(37%, 81.5%, 0%, 78.8%)
CIE-LABlab(7.44, 22.52, -23.62)
CIE-LCHlch(7.44, 32.63, 313.63°)
OKLaboklab(21.19% 0.0476 -0.0671)
OKLCHoklch(21.19% 0.082 305.3)
XYZxyz(1.4339, 0.8235, 3.5727)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A36 #1E360A
analogous
#0C0A36 #220A36 #360A34
triadic
#220A36 #36220A #0A3622
tetradic
#220A36 #360C0A #1E360A #0A3436
square
#220A36 #360C0A #1E360A #0A3436
split-complementary
#220A36 #34360A #0A360C
monochromatic
#10051A #10051A #220A36 #43146A #631D9D

Accessibility & contrast

On white

18.03
#220A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220A36
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A36#FFFFFF#000000##FFFFFF
##220A361.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#001635
Tritanopia (blue-blind)
#1E141F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #220a36;
/* rgb */ color: rgb(34, 10, 54);
/* oklch */ color: oklch(21.2% 0.082 305.3);
Tailwind
colors: {
  custom: {
    50: '#5f4b6d',
    500: '#220a36',
    950: '#000000',
  },
}
SCSS
$custom: #220a36;
$custom-light: #5f4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#220a36",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 54
  },
  "hsl": {
    "h": 272.727,
    "s": 68.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21192,
    "c": 0.08231,
    "h": 305.3
  },
  "luminance": 0.00824
}

Semantic roles & 50–950 ramp

primary
#220A36
secondary
#4A7328
accent
#EC3C8C
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #220A36

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

Preview Lab → · Contrast checker → · Palette generator →

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