#220733#220733

#220733 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.083 H 308.9°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#220733
RGBrgb(34, 7, 51)
HSLhsl(277, 76%, 11%)
HSVhsv(277, 86%, 20%)
CMYKcmyk(33.3%, 86.3%, 0%, 80%)
CIE-LABlab(6.60, 23.15, -22.76)
CIE-LCHlch(6.60, 32.47, 315.48°)
OKLaboklab(20.46% 0.0524 -0.065)
OKLCHoklch(20.46% 0.083 308.9)
XYZxyz(1.3331, 0.7311, 3.2022)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220733 #183307
analogous
#0C0733 #220733 #33072E
triadic
#220733 #332207 #073322
tetradic
#220733 #330C07 #183307 #072E33
square
#220733 #330C07 #183307 #072E33
split-complementary
#220733 #2E3307 #07330C
monochromatic
#12041B #12041B #220733 #460E69 #6A169F

Accessibility & contrast

On white

18.32
#220733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220733
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220733#FFFFFF#000000##FFFFFF
##2207331.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001434
Deuteranopia (green-blind)
#011532
Tritanopia (blue-blind)
#1F111C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220733;
/* rgb */ color: rgb(34, 7, 51);
/* oklch */ color: oklch(20.5% 0.083 308.9);
Tailwind
colors: {
  custom: {
    50: '#5f496b',
    500: '#220733',
    950: '#000000',
  },
}
SCSS
$custom: #220733;
$custom-light: #5f496b;
$custom-dark: #000000;
JSON
{
  "hex": "#220733",
  "rgb": {
    "r": 34,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 276.818,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20459,
    "c": 0.08346,
    "h": 308.9
  },
  "luminance": 0.00731
}

Semantic roles & 50–950 ramp

primary
#220733
secondary
#427323
accent
#F2357E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #220733

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

Preview Lab → · Contrast checker → · Palette generator →

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