#220B3E#220B3E

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

Color values

HEX#220B3E
RGBrgb(34, 11, 62)
HSLhsl(267, 70%, 14%)
HSVhsv(267, 82%, 24%)
CMYKcmyk(45.2%, 82.3%, 0%, 75.7%)
CIE-LABlab(8.37, 24.39, -27.88)
CIE-LCHlch(8.37, 37.04, 311.17°)
OKLaboklab(22.1% 0.0447 -0.0796)
OKLCHoklch(22.1% 0.091 299.3)
XYZxyz(1.6486, 0.9272, 4.6486)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B3E #273E0B
analogous
#0B0E3E #220B3E #3C0B3E
triadic
#220B3E #3E220B #0B3E22
tetradic
#220B3E #3E0B0E #273E0B #0B3E3C
square
#220B3E #3E0B0E #273E0B #0B3E3C
split-complementary
#220B3E #3E3C0B #0E3E0B
monochromatic
#0E051A #0E051A #220B3E #3F1472 #5B1DA6

Accessibility & contrast

On white

17.72
#220B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#220B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220B3E
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B3E#FFFFFF#000000##FFFFFF
##220B3E1.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #220b3e;
/* rgb */ color: rgb(34, 11, 62);
/* oklch */ color: oklch(22.1% 0.091 299.3);
Tailwind
colors: {
  custom: {
    50: '#604c74',
    500: '#220b3e',
    950: '#000000',
  },
}
SCSS
$custom: #220b3e;
$custom-light: #604c74;
$custom-dark: #000000;
JSON
{
  "hex": "#220b3e",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 267.059,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22096,
    "c": 0.09132,
    "h": 299.3
  },
  "luminance": 0.00927
}

Semantic roles & 50–950 ramp

primary
#220B3E
secondary
#567B2A
accent
#ED3B9D
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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