#220A2F#220A2F

#220A2F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.6% C 0.073 H 311.5°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#220A2F
RGBrgb(34, 10, 47)
HSLhsl(279, 65%, 11%)
HSVhsv(279, 79%, 18%)
CMYKcmyk(27.7%, 78.7%, 0%, 81.6%)
CIE-LABlab(6.89, 20.35, -19.35)
CIE-LCHlch(6.89, 28.08, 316.44°)
OKLaboklab(20.58% 0.0485 -0.0548)
OKLCHoklch(20.58% 0.073 311.5)
XYZxyz(1.2812, 0.7624, 2.7684)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A2F #172F0A
analogous
#0F0A2F #220A2F #2F0A29
triadic
#220A2F #2F220A #0A2F22
tetradic
#220A2F #2F0F0A #172F0A #0A292F
square
#220A2F #2F0F0A #172F0A #0A292F
split-complementary
#220A2F #292F0A #0A2F0F
monochromatic
#120519 #120519 #220A2F #471561 #6B1F94

Accessibility & contrast

On white

18.22
#220A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#220A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220A2F
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A2F#FFFFFF#000000##FFFFFF
##220A2F1.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#07162E
Tritanopia (blue-blind)
#20111B
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220a2f;
/* rgb */ color: rgb(34, 10, 47);
/* oklch */ color: oklch(20.6% 0.073 311.5);
Tailwind
colors: {
  custom: {
    50: '#5f4b68',
    500: '#220a2f',
    950: '#000000',
  },
}
SCSS
$custom: #220a2f;
$custom-light: #5f4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#220a2f",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 47
  },
  "hsl": {
    "h": 278.919,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20577,
    "c": 0.07318,
    "h": 311.5
  },
  "luminance": 0.00762
}

Semantic roles & 50–950 ramp

primary
#220A2F
secondary
#406C29
accent
#E8407B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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