#220636#220636

#220636 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.089 H 306.7°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#220636
RGBrgb(34, 6, 54)
HSLhsl(275, 80%, 12%)
HSVhsv(275, 89%, 21%)
CMYKcmyk(37%, 88.9%, 0%, 78.8%)
CIE-LABlab(6.65, 24.64, -24.88)
CIE-LCHlch(6.65, 35.02, 314.72°)
OKLaboklab(20.59% 0.0531 -0.0712)
OKLCHoklch(20.59% 0.089 306.7)
XYZxyz(1.3905, 0.7367, 3.5583)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220636 #1A3606
analogous
#0A0636 #220636 #360632
triadic
#220636 #362206 #063622
tetradic
#220636 #360A06 #1A3606 #063236
square
#220636 #360A06 #1A3606 #063236
split-complementary
#220636 #323606 #06360A
monochromatic
#11031C #11031C #220636 #450C6D #6712A4

Accessibility & contrast

On white

18.30
#220636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#220636 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220636
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220636#FFFFFF#000000##FFFFFF
##2206361.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001437
Deuteranopia (green-blind)
#001535
Tritanopia (blue-blind)
#1F121D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220636;
/* rgb */ color: rgb(34, 6, 54);
/* oklch */ color: oklch(20.6% 0.089 306.7);
Tailwind
colors: {
  custom: {
    50: '#60496d',
    500: '#220636',
    950: '#000000',
  },
}
SCSS
$custom: #220636;
$custom-light: #60496d;
$custom-dark: #000000;
JSON
{
  "hex": "#220636",
  "rgb": {
    "r": 34,
    "g": 6,
    "b": 54
  },
  "hsl": {
    "h": 275,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20587,
    "c": 0.0888,
    "h": 306.7
  },
  "luminance": 0.00737
}

Semantic roles & 50–950 ramp

primary
#220636
secondary
#457621
accent
#F63183
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #220636

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

Preview Lab → · Contrast checker → · Palette generator →

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