#220A2E#220A2E

#220A2E is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.5% C 0.072 H 312.5°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#220A2E
RGBrgb(34, 10, 46)
HSLhsl(280, 64%, 11%)
HSVhsv(280, 78%, 18%)
CMYKcmyk(26.1%, 78.3%, 0%, 82%)
CIE-LABlab(6.82, 20.03, -18.72)
CIE-LCHlch(6.82, 27.42, 316.94°)
OKLaboklab(20.49% 0.0485 -0.053)
OKLCHoklch(20.49% 0.072 312.5)
XYZxyz(1.2613, 0.7545, 2.6634)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A2E #162E0A
analogous
#100A2E #220A2E #2E0A28
triadic
#220A2E #2E220A #0A2E22
tetradic
#220A2E #2E100A #162E0A #0A282E
square
#220A2E #2E100A #162E0A #0A282E
split-complementary
#220A2E #282E0A #0A2E10
monochromatic
#130519 #130519 #220A2E #471560 #6C2093

Accessibility & contrast

On white

18.25
#220A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220A2E
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A2E#FFFFFF#000000##FFFFFF
##220A2E1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00142F
Deuteranopia (green-blind)
#07162D
Tritanopia (blue-blind)
#21111A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220a2e;
/* rgb */ color: rgb(34, 10, 46);
/* oklch */ color: oklch(20.5% 0.072 312.5);
Tailwind
colors: {
  custom: {
    50: '#5e4b67',
    500: '#220a2e',
    950: '#000000',
  },
}
SCSS
$custom: #220a2e;
$custom-light: #5e4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#220a2e",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 46
  },
  "hsl": {
    "h": 280,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20494,
    "c": 0.07188,
    "h": 312.5
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#220A2E
secondary
#3F6B29
accent
#E74178
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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