#220D56#220D56

#220D56 is a very dark, vivid violet. Relative luminance 0.013; OKLCH L 24.9% C 0.120 H 287.2°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#220D56
RGBrgb(34, 13, 86)
HSLhsl(257, 74%, 19%)
HSVhsv(257, 85%, 34%)
CMYKcmyk(60.5%, 84.9%, 0%, 66.3%)
CIE-LABlab(11.27, 30.80, -39.85)
CIE-LCHlch(11.27, 50.36, 307.70°)
OKLaboklab(24.91% 0.0355 -0.1147)
OKLCHoklch(24.91% 0.12 287.2)
XYZxyz(2.4828, 1.2997, 8.9223)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D56 #41560D
analogous
#0D1D56 #220D56 #470D56
triadic
#220D56 #56220D #0D5622
tetradic
#220D56 #560D1D #41560D #0D5647
square
#220D56 #560D1D #41560D #0D5647
split-complementary
#220D56 #56470D #1D560D
monochromatic
#0B041B #0D0521 #220D56 #37158B #4C1DC0

Accessibility & contrast

On white

16.67
#220D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#220D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220D56
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D56#FFFFFF#000000##FFFFFF
##220D561.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#0A2231
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #220d56;
/* rgb */ color: rgb(34, 13, 86);
/* oklch */ color: oklch(24.9% 0.120 287.2);
Tailwind
colors: {
  custom: {
    50: '#654f86',
    500: '#220d56',
    950: '#000000',
  },
}
SCSS
$custom: #220d56;
$custom-light: #654f86;
$custom-dark: #000000;
JSON
{
  "hex": "#220d56",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 257.26,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24905,
    "c": 0.12006,
    "h": 287.2
  },
  "luminance": 0.013
}

Semantic roles & 50–950 ramp

primary
#220D56
secondary
#74912E
accent
#F037BB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #220D56

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

Preview Lab → · Contrast checker → · Palette generator →

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