#220E3E#220E3E

#220E3E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.087 H 298.2°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#220E3E
RGBrgb(34, 14, 62)
HSLhsl(265, 63%, 15%)
HSVhsv(265, 77%, 24%)
CMYKcmyk(45.2%, 77.4%, 0%, 75.7%)
CIE-LABlab(9.01, 22.61, -26.85)
CIE-LCHlch(9.01, 35.10, 310.10°)
OKLaboklab(22.55% 0.0411 -0.0766)
OKLCHoklch(22.55% 0.087 298.2)
XYZxyz(1.6860, 1.0019, 4.6611)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E3E #2A3E0E
analogous
#0E123E #220E3E #3A0E3E
triadic
#220E3E #3E220E #0E3E22
tetradic
#220E3E #3E0E12 #2A3E0E #0E3E3A
square
#220E3E #3E0E12 #2A3E0E #0E3E3A
split-complementary
#220E3E #3E3A0E #123E0E
monochromatic
#0E0619 #0E0619 #220E3E #3D1970 #5925A2

Accessibility & contrast

On white

17.49
#220E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#220E3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220E3E
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E3E#FFFFFF#000000##FFFFFF
##220E3E1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#1B1924
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #220e3e;
/* rgb */ color: rgb(34, 14, 62);
/* oklch */ color: oklch(22.6% 0.087 298.2);
Tailwind
colors: {
  custom: {
    50: '#604e74',
    500: '#220e3e',
    950: '#000000',
  },
}
SCSS
$custom: #220e3e;
$custom-light: #604e74;
$custom-dark: #000000;
JSON
{
  "hex": "#220e3e",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 62
  },
  "hsl": {
    "h": 265,
    "s": 63.158,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2255,
    "c": 0.0869,
    "h": 298.2
  },
  "luminance": 0.01002
}

Semantic roles & 50–950 ramp

primary
#220E3E
secondary
#5A792F
accent
#E642A2
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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