#220F37#220F37

#220F37 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.1% C 0.075 H 302.5°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#220F37
RGBrgb(34, 15, 55)
HSLhsl(269, 57%, 14%)
HSVhsv(269, 73%, 22%)
CMYKcmyk(38.2%, 72.7%, 0%, 78.4%)
CIE-LABlab(8.63, 19.79, -22.42)
CIE-LCHlch(8.63, 29.90, 311.44°)
OKLaboklab(22.09% 0.0405 -0.0636)
OKLCHoklch(22.09% 0.075 302.5)
XYZxyz(1.5199, 0.9576, 3.7184)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F37 #24370F
analogous
#0F1037 #220F37 #360F37
triadic
#220F37 #37220F #0F3722
tetradic
#220F37 #370F10 #24370F #0F3736
square
#220F37 #370F10 #24370F #0F3736
split-complementary
#220F37 #37360F #10370F
monochromatic
#0F0718 #0F0718 #220F37 #401C67 #5D2997

Accessibility & contrast

On white

17.62
#220F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#220F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F37
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F37#FFFFFF#000000##FFFFFF
##220F371.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#041936
Tritanopia (blue-blind)
#1E1721
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #220f37;
/* rgb */ color: rgb(34, 15, 55);
/* oklch */ color: oklch(22.1% 0.075 302.5);
Tailwind
colors: {
  custom: {
    50: '#5f4e6e',
    500: '#220f37',
    950: '#000000',
  },
}
SCSS
$custom: #220f37;
$custom-light: #5f4e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#220f37",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 268.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22088,
    "c": 0.07538,
    "h": 302.5
  },
  "luminance": 0.00958
}

Semantic roles & 50–950 ramp

primary
#220F37
secondary
#537131
accent
#E04798
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220F37

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

Preview Lab → · Contrast checker → · Palette generator →

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