#220536#220536

#220536 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.091 H 307.1°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#220536
RGBrgb(34, 5, 54)
HSLhsl(276, 83%, 12%)
HSVhsv(276, 91%, 21%)
CMYKcmyk(37%, 90.7%, 0%, 78.8%)
CIE-LABlab(6.46, 25.17, -25.20)
CIE-LCHlch(6.46, 35.61, 314.96°)
OKLaboklab(20.43% 0.0546 -0.0722)
OKLCHoklch(20.43% 0.091 307.1)
XYZxyz(1.3797, 0.7150, 3.5546)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220536 #193605
analogous
#0A0536 #220536 #360532
triadic
#220536 #362205 #053622
tetradic
#220536 #360A05 #193605 #053236
square
#220536 #360A05 #193605 #053236
split-complementary
#220536 #323605 #05360A
monochromatic
#12031C #12031C #220536 #450A6E #690FA6

Accessibility & contrast

On white

18.37
#220536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#220536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220536
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220536#FFFFFF#000000##FFFFFF
##2205361.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#001535
Tritanopia (blue-blind)
#1F111D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #220536;
/* rgb */ color: rgb(34, 5, 54);
/* oklch */ color: oklch(20.4% 0.091 307.1);
Tailwind
colors: {
  custom: {
    50: '#60486d',
    500: '#220536',
    950: '#000000',
  },
}
SCSS
$custom: #220536;
$custom-light: #60486d;
$custom-dark: #000000;
JSON
{
  "hex": "#220536",
  "rgb": {
    "r": 34,
    "g": 5,
    "b": 54
  },
  "hsl": {
    "h": 275.51,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2043,
    "c": 0.09053,
    "h": 307.1
  },
  "luminance": 0.00715
}

Semantic roles & 50–950 ramp

primary
#220536
secondary
#437720
accent
#F92E81
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050107
muted
#79777A

Preview Lab

Preview with #220536

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

Preview Lab → · Contrast checker → · Palette generator →

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