#220B39#220B39

#220B39 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.085 H 302.7°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#220B39
RGBrgb(34, 11, 57)
HSLhsl(270, 68%, 13%)
HSVhsv(270, 81%, 22%)
CMYKcmyk(40.4%, 80.7%, 0%, 77.6%)
CIE-LABlab(7.90, 22.88, -25.05)
CIE-LCHlch(7.90, 33.93, 312.41°)
OKLaboklab(21.62% 0.0458 -0.0713)
OKLCHoklch(21.62% 0.085 302.7)
XYZxyz(1.5177, 0.8748, 3.9590)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B39 #22390B
analogous
#0B0B39 #220B39 #390B39
triadic
#220B39 #39220B #0B3922
tetradic
#220B39 #390B0B #22390B #0B3939
square
#220B39 #390B0B #22390B #0B3939
split-complementary
#220B39 #39390B #0B390B
monochromatic
#0F051A #0F051A #220B39 #41156C #5F1FA0

Accessibility & contrast

On white

17.87
#220B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220B39
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B39#FFFFFF#000000##FFFFFF
##220B391.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#001738
Tritanopia (blue-blind)
#1D1621
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220b39;
/* rgb */ color: rgb(34, 11, 57);
/* oklch */ color: oklch(21.6% 0.085 302.7);
Tailwind
colors: {
  custom: {
    50: '#604c70',
    500: '#220b39',
    950: '#000000',
  },
}
SCSS
$custom: #220b39;
$custom-light: #604c70;
$custom-dark: #000000;
JSON
{
  "hex": "#220b39",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 270,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21617,
    "c": 0.08472,
    "h": 302.7
  },
  "luminance": 0.00875
}

Semantic roles & 50–950 ramp

primary
#220B39
secondary
#50762A
accent
#EB3D94
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220B39

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

Preview Lab → · Contrast checker → · Palette generator →

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