#220F4F#220F4F

#220F4F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.109 H 289.3°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#220F4F
RGBrgb(34, 15, 79)
HSLhsl(258, 68%, 18%)
HSVhsv(258, 81%, 31%)
CMYKcmyk(57%, 81%, 0%, 69%)
CIE-LABlab(10.89, 27.46, -35.68)
CIE-LCHlch(10.89, 45.03, 307.58°)
OKLaboklab(24.41% 0.036 -0.1025)
OKLCHoklch(24.41% 0.109 289.3)
XYZxyz(2.2414, 1.2461, 7.5180)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F4F #3C4F0F
analogous
#0F1C4F #220F4F #420F4F
triadic
#220F4F #4F220F #0F4F22
tetradic
#220F4F #4F0F1C #3C4F0F #0F4F42
square
#220F4F #4F0F1C #3C4F0F #0F4F42
split-complementary
#220F4F #4F420F #1C4F0F
monochromatic
#0B051A #0C051C #220F4F #381982 #4E23B6

Accessibility & contrast

On white

16.81
#220F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F4F
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F4F#FFFFFF#000000##FFFFFF
##220F4F1.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#11202E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #220f4f;
/* rgb */ color: rgb(34, 15, 79);
/* oklch */ color: oklch(24.4% 0.109 289.3);
Tailwind
colors: {
  custom: {
    50: '#634f81',
    500: '#220f4f',
    950: '#000000',
  },
}
SCSS
$custom: #220f4f;
$custom-light: #634f81;
$custom-dark: #000000;
JSON
{
  "hex": "#220f4f",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 257.813,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24408,
    "c": 0.10866,
    "h": 289.3
  },
  "luminance": 0.01246
}

Semantic roles & 50–950 ramp

primary
#220F4F
secondary
#6F8931
accent
#EB3DB7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #220F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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