#220839#220839

#220839 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.089 H 303.7°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#220839
RGBrgb(34, 8, 57)
HSLhsl(272, 75%, 13%)
HSVhsv(272, 86%, 22%)
CMYKcmyk(40.4%, 86%, 0%, 77.6%)
CIE-LABlab(7.31, 24.52, -26.01)
CIE-LCHlch(7.31, 35.75, 313.32°)
OKLaboklab(21.18% 0.0496 -0.0742)
OKLCHoklch(21.18% 0.089 303.7)
XYZxyz(1.4849, 0.8092, 3.9481)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220839 #1F3908
analogous
#0A0839 #220839 #390837
triadic
#220839 #392208 #083922
tetradic
#220839 #390A08 #1F3908 #083739
square
#220839 #390A08 #1F3908 #083739
split-complementary
#220839 #373908 #08390A
monochromatic
#10041B #10041B #220839 #42106F #6217A4

Accessibility & contrast

On white

18.08
#220839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#220839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220839
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220839#FFFFFF#000000##FFFFFF
##2208391.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#001638
Tritanopia (blue-blind)
#1D1420
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #220839;
/* rgb */ color: rgb(34, 8, 57);
/* oklch */ color: oklch(21.2% 0.089 303.7);
Tailwind
colors: {
  custom: {
    50: '#604a70',
    500: '#220839',
    950: '#000000',
  },
}
SCSS
$custom: #220839;
$custom-light: #604a70;
$custom-dark: #000000;
JSON
{
  "hex": "#220839",
  "rgb": {
    "r": 34,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 271.837,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21182,
    "c": 0.08923,
    "h": 303.7
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#220839
secondary
#4C7825
accent
#F2368E
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220839

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

Preview Lab → · Contrast checker → · Palette generator →

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