#220D38#220D38

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

Color values

HEX#220D38
RGBrgb(34, 13, 56)
HSLhsl(269, 62%, 14%)
HSVhsv(269, 77%, 22%)
CMYKcmyk(39.3%, 76.8%, 0%, 78%)
CIE-LABlab(8.25, 21.38, -23.76)
CIE-LCHlch(8.25, 31.96, 311.97°)
OKLaboklab(21.84% 0.0433 -0.0675)
OKLCHoklch(21.84% 0.08 302.7)
XYZxyz(1.5173, 0.9135, 3.8370)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D38 #23380D
analogous
#0D0D38 #220D38 #370D38
triadic
#220D38 #38220D #0D3822
tetradic
#220D38 #380D0D #23380D #0D3837
square
#220D38 #380D0D #23380D #0D3837
split-complementary
#220D38 #38370D #0D380D
monochromatic
#0F0619 #0F0619 #220D38 #40196A #5E249B

Accessibility & contrast

On white

17.76
#220D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220D38
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D38#FFFFFF#000000##FFFFFF
##220D381.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001839
Deuteranopia (green-blind)
#011837
Tritanopia (blue-blind)
#1E1721
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220d38;
/* rgb */ color: rgb(34, 13, 56);
/* oklch */ color: oklch(21.8% 0.080 302.7);
Tailwind
colors: {
  custom: {
    50: '#5f4d6f',
    500: '#220d38',
    950: '#000000',
  },
}
SCSS
$custom: #220d38;
$custom-light: #5f4d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#220d38",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 269.302,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21837,
    "c": 0.08019,
    "h": 302.7
  },
  "luminance": 0.00913
}

Semantic roles & 50–950 ramp

primary
#220D38
secondary
#51732D
accent
#E54296
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220D38

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

Preview Lab → · Contrast checker → · Palette generator →

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