#220F4D#220F4D

#220F4D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.106 H 290.2°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#220F4D
RGBrgb(34, 15, 77)
HSLhsl(258, 67%, 18%)
HSVhsv(258, 81%, 30%)
CMYKcmyk(55.8%, 80.5%, 0%, 69.8%)
CIE-LABlab(10.69, 26.81, -34.64)
CIE-LCHlch(10.69, 43.81, 307.74°)
OKLaboklab(24.2% 0.0365 -0.0995)
OKLCHoklch(24.2% 0.106 290.2)
XYZxyz(2.1697, 1.2175, 7.1404)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F4D #3A4D0F
analogous
#0F1B4D #220F4D #410F4D
triadic
#220F4D #4D220F #0F4D22
tetradic
#220F4D #4D0F1B #3A4D0F #0F4D41
square
#220F4D #4D0F1B #3A4D0F #0F4D41
split-complementary
#220F4D #4D410F #1B4D0F
monochromatic
#0B051A #0B051A #220F4D #391980 #4F23B3

Accessibility & contrast

On white

16.89
#220F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#220F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F4D
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F4D#FFFFFF#000000##FFFFFF
##220F4D1.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4F
Deuteranopia (green-blind)
#001B4C
Tritanopia (blue-blind)
#13202D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #220f4d;
/* rgb */ color: rgb(34, 15, 77);
/* oklch */ color: oklch(24.2% 0.106 290.2);
Tailwind
colors: {
  custom: {
    50: '#634f7f',
    500: '#220f4d',
    950: '#000000',
  },
}
SCSS
$custom: #220f4d;
$custom-light: #634f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#220f4d",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 258.387,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24198,
    "c": 0.10598,
    "h": 290.2
  },
  "luminance": 0.01218
}

Semantic roles & 50–950 ramp

primary
#220F4D
secondary
#6D8731
accent
#EA3EB5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #220F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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