#220A3E#220A3E

#220A3E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.093 H 299.7°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#220A3E
RGBrgb(34, 10, 62)
HSLhsl(268, 72%, 14%)
HSVhsv(268, 84%, 24%)
CMYKcmyk(45.2%, 83.9%, 0%, 75.7%)
CIE-LABlab(8.17, 24.94, -28.21)
CIE-LCHlch(8.17, 37.65, 311.49°)
OKLaboklab(21.96% 0.0459 -0.0806)
OKLCHoklch(21.96% 0.093 299.7)
XYZxyz(1.6375, 0.9049, 4.6449)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A3E #263E0A
analogous
#0A0C3E #220A3E #3C0A3E
triadic
#220A3E #3E220A #0A3E22
tetradic
#220A3E #3E0A0C #263E0A #0A3E3C
square
#220A3E #3E0A0C #263E0A #0A3E3C
split-complementary
#220A3E #3E3C0A #0C3E0A
monochromatic
#0E041A #0E041A #220A3E #3F1373 #5C1BA7

Accessibility & contrast

On white

17.78
#220A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220A3E
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A3E#FFFFFF#000000##FFFFFF
##220A3E1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#00173D
Tritanopia (blue-blind)
#1B1723
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220a3e;
/* rgb */ color: rgb(34, 10, 62);
/* oklch */ color: oklch(22.0% 0.093 299.7);
Tailwind
colors: {
  custom: {
    50: '#614b74',
    500: '#220a3e',
    950: '#000000',
  },
}
SCSS
$custom: #220a3e;
$custom-light: #614b74;
$custom-dark: #000000;
JSON
{
  "hex": "#220a3e",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 62
  },
  "hsl": {
    "h": 267.692,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21957,
    "c": 0.0927,
    "h": 299.7
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#220A3E
secondary
#557B28
accent
#EF399B
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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