#220A3D#220A3D

#220A3D is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.091 H 300.3°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#220A3D
RGBrgb(34, 10, 61)
HSLhsl(268, 72%, 14%)
HSVhsv(268, 84%, 24%)
CMYKcmyk(44.3%, 83.6%, 0%, 76.1%)
CIE-LABlab(8.08, 24.64, -27.65)
CIE-LCHlch(8.08, 37.03, 311.71°)
OKLaboklab(21.86% 0.0461 -0.0789)
OKLCHoklch(21.86% 0.091 300.3)
XYZxyz(1.6103, 0.8941, 4.5017)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A3D #253D0A
analogous
#0A0C3D #220A3D #3C0A3D
triadic
#220A3D #3D220A #0A3D22
tetradic
#220A3D #3D0A0C #253D0A #0A3D3C
square
#220A3D #3D0A0C #253D0A #0A3D3C
split-complementary
#220A3D #3D3C0A #0C3D0A
monochromatic
#0F041A #0F041A #220A3D #3F1372 #5D1BA6

Accessibility & contrast

On white

17.81
#220A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#220A3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220A3D
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A3D#FFFFFF#000000##FFFFFF
##220A3D1.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173E
Deuteranopia (green-blind)
#00173C
Tritanopia (blue-blind)
#1C1722
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220a3d;
/* rgb */ color: rgb(34, 10, 61);
/* oklch */ color: oklch(21.9% 0.091 300.3);
Tailwind
colors: {
  custom: {
    50: '#604b73',
    500: '#220a3d',
    950: '#000000',
  },
}
SCSS
$custom: #220a3d;
$custom-light: #604b73;
$custom-dark: #000000;
JSON
{
  "hex": "#220a3d",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 61
  },
  "hsl": {
    "h": 268.235,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21858,
    "c": 0.09141,
    "h": 300.3
  },
  "luminance": 0.00894
}

Semantic roles & 50–950 ramp

primary
#220A3D
secondary
#547A28
accent
#EF3999
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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