#220F51#220F51

#220F51 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.111 H 288.5°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#220F51
RGBrgb(34, 15, 81)
HSLhsl(257, 69%, 19%)
HSVhsv(257, 81%, 32%)
CMYKcmyk(58%, 81.5%, 0%, 68.2%)
CIE-LABlab(11.10, 28.11, -36.71)
CIE-LCHlch(11.10, 46.24, 307.44°)
OKLaboklab(24.62% 0.0354 -0.1055)
OKLCHoklch(24.62% 0.111 288.5)
XYZxyz(2.3153, 1.2757, 7.9072)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F51 #3E510F
analogous
#0F1D51 #220F51 #430F51
triadic
#220F51 #51220F #0F5122
tetradic
#220F51 #510F1D #3E510F #0F5143
square
#220F51 #510F1D #3E510F #0F5143
split-complementary
#220F51 #51430F #1D510F
monochromatic
#0B051A #0C051D #220F51 #381985 #4D22B8

Accessibility & contrast

On white

16.73
#220F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F51
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F51#FFFFFF#000000##FFFFFF
##220F511.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F53
Deuteranopia (green-blind)
#001C50
Tritanopia (blue-blind)
#10212F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #220f51;
/* rgb */ color: rgb(34, 15, 81);
/* oklch */ color: oklch(24.6% 0.111 288.5);
Tailwind
colors: {
  custom: {
    50: '#634f83',
    500: '#220f51',
    950: '#000000',
  },
}
SCSS
$custom: #220f51;
$custom-light: #634f83;
$custom-dark: #000000;
JSON
{
  "hex": "#220f51",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 257.273,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24621,
    "c": 0.11132,
    "h": 288.5
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#220F51
secondary
#718B31
accent
#EC3CB9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #220F51

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

Preview Lab → · Contrast checker → · Palette generator →

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