#220D52#220D52

#220D52 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.5% C 0.115 H 288.7°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#220D52
RGBrgb(34, 13, 82)
HSLhsl(258, 73%, 19%)
HSVhsv(258, 84%, 32%)
CMYKcmyk(58.5%, 84.1%, 0%, 67.8%)
CIE-LABlab(10.83, 29.53, -37.85)
CIE-LCHlch(10.83, 48.01, 307.96°)
OKLaboklab(24.46% 0.0368 -0.1089)
OKLCHoklch(24.46% 0.115 288.7)
XYZxyz(2.3262, 1.2370, 8.0972)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D52 #3D520D
analogous
#0D1A52 #220D52 #440D52
triadic
#220D52 #52220D #0D5222
tetradic
#220D52 #520D1A #3D520D #0D5244
square
#220D52 #520D1A #3D520D #0D5244
split-complementary
#220D52 #52440D #1A520D
monochromatic
#0B041A #0C051D #220D52 #381587 #4E1EBC

Accessibility & contrast

On white

16.84
#220D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#220D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220D52
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D52#FFFFFF#000000##FFFFFF
##220D521.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001B51
Tritanopia (blue-blind)
#0F212F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #220d52;
/* rgb */ color: rgb(34, 13, 82);
/* oklch */ color: oklch(24.5% 0.115 288.7);
Tailwind
colors: {
  custom: {
    50: '#644e83',
    500: '#220d52',
    950: '#000000',
  },
}
SCSS
$custom: #220d52;
$custom-light: #644e83;
$custom-dark: #000000;
JSON
{
  "hex": "#220d52",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 258.261,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2446,
    "c": 0.11492,
    "h": 288.7
  },
  "luminance": 0.01237
}

Semantic roles & 50–950 ramp

primary
#220D52
secondary
#708D2E
accent
#EF38B8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #220D52

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

Preview Lab → · Contrast checker → · Palette generator →

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