#220F54#220F54

#220F54 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.115 H 287.4°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#220F54
RGBrgb(34, 15, 84)
HSLhsl(257, 70%, 19%)
HSVhsv(257, 82%, 33%)
CMYKcmyk(59.5%, 82.1%, 0%, 67.1%)
CIE-LABlab(11.43, 29.09, -38.23)
CIE-LCHlch(11.43, 48.04, 307.26°)
OKLaboklab(24.95% 0.0345 -0.11)
OKLCHoklch(24.95% 0.115 287.4)
XYZxyz(2.4303, 1.3217, 8.5128)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F54 #41540F
analogous
#0F1F54 #220F54 #450F54
triadic
#220F54 #54220F #0F5422
tetradic
#220F54 #540F1F #41540F #0F5445
square
#220F54 #540F1F #41540F #0F5445
split-complementary
#220F54 #54450F #1F540F
monochromatic
#0B051A #0D0620 #220F54 #371888 #4C22BC

Accessibility & contrast

On white

16.61
#220F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F54
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F54#FFFFFF#000000##FFFFFF
##220F541.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #220f54;
/* rgb */ color: rgb(34, 15, 84);
/* oklch */ color: oklch(24.9% 0.115 287.4);
Tailwind
colors: {
  custom: {
    50: '#645085',
    500: '#220f54',
    950: '#000000',
  },
}
SCSS
$custom: #220f54;
$custom-light: #645085;
$custom-dark: #000000;
JSON
{
  "hex": "#220f54",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 256.522,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24945,
    "c": 0.11529,
    "h": 287.4
  },
  "luminance": 0.01322
}

Semantic roles & 50–950 ramp

primary
#220F54
secondary
#748E31
accent
#ED3BBC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #220F54

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

Preview Lab → · Contrast checker → · Palette generator →

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