#220D30#220D30

#220D30 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.069 H 309.4°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#220D30
RGBrgb(34, 13, 48)
HSLhsl(276, 57%, 12%)
HSVhsv(276, 73%, 19%)
CMYKcmyk(29.2%, 72.9%, 0%, 81.2%)
CIE-LABlab(7.60, 18.97, -18.95)
CIE-LCHlch(7.60, 26.82, 315.03°)
OKLaboklab(21.15% 0.0439 -0.0534)
OKLCHoklch(21.15% 0.069 309.4)
XYZxyz(1.3370, 0.8414, 2.8877)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D30 #1B300D
analogous
#110D30 #220D30 #300D2D
triadic
#220D30 #30220D #0D3022
tetradic
#220D30 #30110D #1B300D #0D2D30
square
#220D30 #30110D #1B300D #0D2D30
split-complementary
#220D30 #2D300D #0D3011
monochromatic
#110718 #110718 #220D30 #441A60 #662790

Accessibility & contrast

On white

17.98
#220D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#220D30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220D30
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D30#FFFFFF#000000##FFFFFF
##220D301.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021631
Deuteranopia (green-blind)
#09172F
Tritanopia (blue-blind)
#20141C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220d30;
/* rgb */ color: rgb(34, 13, 48);
/* oklch */ color: oklch(21.2% 0.069 309.4);
Tailwind
colors: {
  custom: {
    50: '#5e4d68',
    500: '#220d30',
    950: '#000000',
  },
}
SCSS
$custom: #220d30;
$custom-light: #5e4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#220d30",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 48
  },
  "hsl": {
    "h": 276,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21154,
    "c": 0.06912,
    "h": 309.4
  },
  "luminance": 0.00841
}

Semantic roles & 50–950 ramp

primary
#220D30
secondary
#466B2E
accent
#E14785
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220D30

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

Preview Lab → · Contrast checker → · Palette generator →

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