#220736#220736

#220736 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.7% C 0.087 H 306.4°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#220736
RGBrgb(34, 7, 54)
HSLhsl(274, 77%, 12%)
HSVhsv(274, 87%, 21%)
CMYKcmyk(37%, 87%, 0%, 78.8%)
CIE-LABlab(6.85, 24.11, -24.57)
CIE-LCHlch(6.85, 34.42, 314.46°)
OKLaboklab(20.74% 0.0517 -0.0701)
OKLCHoklch(20.74% 0.087 306.4)
XYZxyz(1.4014, 0.7584, 3.5619)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220736 #1B3607
analogous
#0B0736 #220736 #360733
triadic
#220736 #362207 #073622
tetradic
#220736 #360B07 #1B3607 #073336
square
#220736 #360B07 #1B3607 #073336
split-complementary
#220736 #333607 #07360B
monochromatic
#11041B #11041B #220736 #440E6C #6615A2

Accessibility & contrast

On white

18.24
#220736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220736
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220736#FFFFFF#000000##FFFFFF
##2207361.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #220736;
/* rgb */ color: rgb(34, 7, 54);
/* oklch */ color: oklch(20.7% 0.087 306.4);
Tailwind
colors: {
  custom: {
    50: '#60496d',
    500: '#220736',
    950: '#000000',
  },
}
SCSS
$custom: #220736;
$custom-light: #60496d;
$custom-dark: #000000;
JSON
{
  "hex": "#220736",
  "rgb": {
    "r": 34,
    "g": 7,
    "b": 54
  },
  "hsl": {
    "h": 274.468,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20742,
    "c": 0.08712,
    "h": 306.4
  },
  "luminance": 0.00758
}

Semantic roles & 50–950 ramp

primary
#220736
secondary
#467623
accent
#F43486
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #220736

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

Preview Lab → · Contrast checker → · Palette generator →

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