#220D3E#220D3E

#220D3E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.088 H 298.6°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#220D3E
RGBrgb(34, 13, 62)
HSLhsl(266, 65%, 15%)
HSVhsv(266, 79%, 24%)
CMYKcmyk(45.2%, 79%, 0%, 75.7%)
CIE-LABlab(8.79, 23.22, -27.20)
CIE-LCHlch(8.79, 35.77, 310.48°)
OKLaboklab(22.39% 0.0423 -0.0776)
OKLCHoklch(22.39% 0.088 298.6)
XYZxyz(1.6729, 0.9757, 4.6567)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D3E #293E0D
analogous
#0D113E #220D3E #3B0D3E
triadic
#220D3E #3E220D #0D3E22
tetradic
#220D3E #3E0D11 #293E0D #0D3E3B
square
#220D3E #3E0D11 #293E0D #0D3E3B
split-complementary
#220D3E #3E3B0D #113E0D
monochromatic
#0E0519 #0E0519 #220D3E #3E1871 #5922A3

Accessibility & contrast

On white

17.57
#220D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220D3E
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D3E#FFFFFF#000000##FFFFFF
##220D3E1.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #220d3e;
/* rgb */ color: rgb(34, 13, 62);
/* oklch */ color: oklch(22.4% 0.088 298.6);
Tailwind
colors: {
  custom: {
    50: '#604d74',
    500: '#220d3e',
    950: '#000000',
  },
}
SCSS
$custom: #220d3e;
$custom-light: #604d74;
$custom-dark: #000000;
JSON
{
  "hex": "#220d3e",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 265.714,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22393,
    "c": 0.08842,
    "h": 298.6
  },
  "luminance": 0.00976
}

Semantic roles & 50–950 ramp

primary
#220D3E
secondary
#597A2D
accent
#E840A0
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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