#220D54#220D54

#220D54 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.117 H 287.9°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#220D54
RGBrgb(34, 13, 84)
HSLhsl(258, 73%, 19%)
HSVhsv(258, 85%, 33%)
CMYKcmyk(59.5%, 84.5%, 0%, 67.1%)
CIE-LABlab(11.05, 30.17, -38.85)
CIE-LCHlch(11.05, 49.19, 307.83°)
OKLaboklab(24.68% 0.0361 -0.1118)
OKLCHoklch(24.68% 0.118 287.9)
XYZxyz(2.4034, 1.2679, 8.5039)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D54 #3F540D
analogous
#0D1C54 #220D54 #460D54
triadic
#220D54 #54220D #0D5422
tetradic
#220D54 #540D1C #3F540D #0D5446
square
#220D54 #540D1C #3F540D #0D5446
split-complementary
#220D54 #54460D #1C540D
monochromatic
#0B041A #0D051F #220D54 #371589 #4D1DBE

Accessibility & contrast

On white

16.75
#220D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220D54
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D54#FFFFFF#000000##FFFFFF
##220D541.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F56
Deuteranopia (green-blind)
#001C53
Tritanopia (blue-blind)
#0D2130
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #220d54;
/* rgb */ color: rgb(34, 13, 84);
/* oklch */ color: oklch(24.7% 0.117 287.9);
Tailwind
colors: {
  custom: {
    50: '#644f85',
    500: '#220d54',
    950: '#000000',
  },
}
SCSS
$custom: #220d54;
$custom-light: #644f85;
$custom-dark: #000000;
JSON
{
  "hex": "#220d54",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 257.746,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24681,
    "c": 0.1175,
    "h": 287.9
  },
  "luminance": 0.01268
}

Semantic roles & 50–950 ramp

primary
#220D54
secondary
#728F2E
accent
#F038B9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #220D54

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

Preview Lab → · Contrast checker → · Palette generator →

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