#220E2E#220E2E

#220E2E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.2% C 0.064 H 310.9°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#220E2E
RGBrgb(34, 14, 46)
HSLhsl(278, 53%, 12%)
HSVhsv(278, 70%, 18%)
CMYKcmyk(26.1%, 69.6%, 0%, 82%)
CIE-LABlab(7.69, 17.76, -17.33)
CIE-LCHlch(7.69, 24.81, 315.70°)
OKLaboklab(21.17% 0.0422 -0.0487)
OKLCHoklch(21.17% 0.064 310.9)
XYZxyz(1.3098, 0.8514, 2.6796)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E2E #1A2E0E
analogous
#120E2E #220E2E #2E0E2A
triadic
#220E2E #2E220E #0E2E22
tetradic
#220E2E #2E120E #1A2E0E #0E2A2E
square
#220E2E #2E120E #1A2E0E #0E2A2E
split-complementary
#220E2E #2A2E0E #0E2E12
monochromatic
#110717 #110717 #220E2E #451C5D #672B8C

Accessibility & contrast

On white

17.95
#220E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220E2E
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E2E#FFFFFF#000000##FFFFFF
##220E2E1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05162F
Deuteranopia (green-blind)
#0B172D
Tritanopia (blue-blind)
#21141C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220e2e;
/* rgb */ color: rgb(34, 14, 46);
/* oklch */ color: oklch(21.2% 0.064 310.9);
Tailwind
colors: {
  custom: {
    50: '#5e4d67',
    500: '#220e2e',
    950: '#000000',
  },
}
SCSS
$custom: #220e2e;
$custom-light: #5e4d67;
$custom-dark: #000000;
JSON
{
  "hex": "#220e2e",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 46
  },
  "hsl": {
    "h": 277.5,
    "s": 53.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21174,
    "c": 0.06441,
    "h": 310.9
  },
  "luminance": 0.00851
}

Semantic roles & 50–950 ramp

primary
#220E2E
secondary
#456830
accent
#DD4B82
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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