#220F35#220F35

#220F35 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.073 H 304.1°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#220F35
RGBrgb(34, 15, 53)
HSLhsl(270, 56%, 13%)
HSVhsv(270, 72%, 21%)
CMYKcmyk(35.8%, 71.7%, 0%, 79.2%)
CIE-LABlab(8.47, 19.18, -21.22)
CIE-LCHlch(8.47, 28.61, 312.11°)
OKLaboklab(21.92% 0.0406 -0.0601)
OKLCHoklch(21.92% 0.073 304.1)
XYZxyz(1.4730, 0.9388, 3.4711)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F35 #22350F
analogous
#0F0F35 #220F35 #350F35
triadic
#220F35 #35220F #0F3522
tetradic
#220F35 #350F0F #22350F #0F3535
square
#220F35 #350F0F #22350F #0F3535
split-complementary
#220F35 #35350F #0F350F
monochromatic
#0F0718 #0F0718 #220F35 #411C65 #5F2A94

Accessibility & contrast

On white

17.68
#220F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F35
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F35#FFFFFF#000000##FFFFFF
##220F351.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011836
Deuteranopia (green-blind)
#061834
Tritanopia (blue-blind)
#1F1720
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220f35;
/* rgb */ color: rgb(34, 15, 53);
/* oklch */ color: oklch(21.9% 0.073 304.1);
Tailwind
colors: {
  custom: {
    50: '#5f4e6c',
    500: '#220f35',
    950: '#000000',
  },
}
SCSS
$custom: #220f35;
$custom-light: #5f4e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#220f35",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 270,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21918,
    "c": 0.07251,
    "h": 304.1
  },
  "luminance": 0.00939
}

Semantic roles & 50–950 ramp

primary
#220F35
secondary
#506F31
accent
#DF4994
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #220F35

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

Preview Lab → · Contrast checker → · Palette generator →

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