#220936#220936

#220936 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.084 H 305.7°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#220936
RGBrgb(34, 9, 54)
HSLhsl(273, 71%, 12%)
HSVhsv(273, 83%, 21%)
CMYKcmyk(37%, 83.3%, 0%, 78.8%)
CIE-LABlab(7.24, 23.05, -23.93)
CIE-LCHlch(7.24, 33.23, 313.92°)
OKLaboklab(21.04% 0.0489 -0.0681)
OKLCHoklch(21.04% 0.084 305.7)
XYZxyz(1.4231, 0.8018, 3.5691)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220936 #1D3609
analogous
#0B0936 #220936 #360934
triadic
#220936 #362209 #093622
tetradic
#220936 #360B09 #1D3609 #093436
square
#220936 #360B09 #1D3609 #093436
split-complementary
#220936 #343609 #09360B
monochromatic
#11041A #11041A #220936 #43126A #641A9F

Accessibility & contrast

On white

18.10
#220936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#220936 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220936
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220936#FFFFFF#000000##FFFFFF
##2209361.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#001635
Tritanopia (blue-blind)
#1E131E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #220936;
/* rgb */ color: rgb(34, 9, 54);
/* oklch */ color: oklch(21.0% 0.084 305.7);
Tailwind
colors: {
  custom: {
    50: '#5f4a6d',
    500: '#220936',
    950: '#000000',
  },
}
SCSS
$custom: #220936;
$custom-light: #5f4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#220936",
  "rgb": {
    "r": 34,
    "g": 9,
    "b": 54
  },
  "hsl": {
    "h": 273.333,
    "s": 71.429,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21044,
    "c": 0.08388,
    "h": 305.7
  },
  "luminance": 0.00802
}

Semantic roles & 50–950 ramp

primary
#220936
secondary
#497427
accent
#EE3A8A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #220936

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

Preview Lab → · Contrast checker → · Palette generator →

#220936 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva