#220F33#220F33

#220F33 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.070 H 305.7°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#220F33
RGBrgb(34, 15, 51)
HSLhsl(272, 55%, 13%)
HSVhsv(272, 71%, 20%)
CMYKcmyk(33.3%, 70.6%, 0%, 80%)
CIE-LABlab(8.31, 18.57, -20.02)
CIE-LCHlch(8.31, 27.31, 312.86°)
OKLaboklab(21.75% 0.0407 -0.0565)
OKLCHoklch(21.75% 0.07 305.7)
XYZxyz(1.4279, 0.9208, 3.2338)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F33 #20330F
analogous
#100F33 #220F33 #330F32
triadic
#220F33 #33220F #0F3322
tetradic
#220F33 #33100F #20330F #0F3233
square
#220F33 #33100F #20330F #0F3233
split-complementary
#220F33 #32330F #0F3310
monochromatic
#100718 #100718 #220F33 #421D62 #612B92

Accessibility & contrast

On white

17.73
#220F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#220F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F33
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F33#FFFFFF#000000##FFFFFF
##220F331.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021834
Deuteranopia (green-blind)
#081832
Tritanopia (blue-blind)
#1F161F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220f33;
/* rgb */ color: rgb(34, 15, 51);
/* oklch */ color: oklch(21.8% 0.070 305.7);
Tailwind
colors: {
  custom: {
    50: '#5f4e6b',
    500: '#220f33',
    950: '#000000',
  },
}
SCSS
$custom: #220f33;
$custom-light: #5f4e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#220f33",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 271.667,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21753,
    "c": 0.06963,
    "h": 305.7
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#220F33
secondary
#4D6D31
accent
#DE4A90
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220F33

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

Preview Lab → · Contrast checker → · Palette generator →

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