#220336#220336

#220336 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.094 H 307.7°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#220336
RGBrgb(34, 3, 54)
HSLhsl(276, 89%, 11%)
HSVhsv(276, 94%, 21%)
CMYKcmyk(37%, 94.4%, 0%, 78.8%)
CIE-LABlab(6.07, 26.21, -25.83)
CIE-LCHlch(6.07, 36.80, 315.42°)
OKLaboklab(20.11% 0.0576 -0.0744)
OKLCHoklch(20.11% 0.094 307.7)
XYZxyz(1.3580, 0.6716, 3.5474)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220336 #173603
analogous
#080336 #220336 #360330
triadic
#220336 #362203 #033622
tetradic
#220336 #360803 #173603 #033036
square
#220336 #360803 #173603 #033036
split-complementary
#220336 #303603 #033608
monochromatic
#12021D #12021D #220336 #470670 #6B09AA

Accessibility & contrast

On white

18.51
#220336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#220336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220336
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220336#FFFFFF#000000##FFFFFF
##2203361.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001237
Deuteranopia (green-blind)
#001435
Tritanopia (blue-blind)
#1F101C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #220336;
/* rgb */ color: rgb(34, 3, 54);
/* oklch */ color: oklch(20.1% 0.094 307.7);
Tailwind
colors: {
  custom: {
    50: '#60476d',
    500: '#220336',
    950: '#000000',
  },
}
SCSS
$custom: #220336;
$custom-light: #60476d;
$custom-dark: #000000;
JSON
{
  "hex": "#220336",
  "rgb": {
    "r": 34,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 276.471,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20109,
    "c": 0.0941,
    "h": 307.7
  },
  "luminance": 0.00672
}

Semantic roles & 50–950 ramp

primary
#220336
secondary
#40791C
accent
#FF297D
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #220336

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

Preview Lab → · Contrast checker → · Palette generator →

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