#220F32#220F32

#220F32 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.068 H 306.6°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#220F32
RGBrgb(34, 15, 50)
HSLhsl(273, 54%, 13%)
HSVhsv(273, 70%, 20%)
CMYKcmyk(32%, 70%, 0%, 80.4%)
CIE-LABlab(8.24, 18.28, -19.41)
CIE-LCHlch(8.24, 26.66, 313.28°)
OKLaboklab(21.67% 0.0407 -0.0547)
OKLCHoklch(21.67% 0.068 306.6)
XYZxyz(1.4061, 0.9120, 3.1190)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F32 #1F320F
analogous
#100F32 #220F32 #320F30
triadic
#220F32 #32220F #0F3222
tetradic
#220F32 #32100F #1F320F #0F3032
square
#220F32 #32100F #1F320F #0F3032
split-complementary
#220F32 #30320F #0F3210
monochromatic
#100718 #100718 #220F32 #421D61 #622B90

Accessibility & contrast

On white

17.76
#220F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F32
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F32#FFFFFF#000000##FFFFFF
##220F321.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031733
Deuteranopia (green-blind)
#091831
Tritanopia (blue-blind)
#1F161E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220f32;
/* rgb */ color: rgb(34, 15, 50);
/* oklch */ color: oklch(21.7% 0.068 306.6);
Tailwind
colors: {
  custom: {
    50: '#5e4e6a',
    500: '#220f32',
    950: '#000000',
  },
}
SCSS
$custom: #220f32;
$custom-light: #5e4e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#220f32",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 272.571,
    "s": 53.846,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21672,
    "c": 0.06819,
    "h": 306.6
  },
  "luminance": 0.00912
}

Semantic roles & 50–950 ramp

primary
#220F32
secondary
#4C6C31
accent
#DD4B8E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220F32

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

Preview Lab → · Contrast checker → · Palette generator →

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