#220939#220939

#220939 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.088 H 303.4°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#220939
RGBrgb(34, 9, 57)
HSLhsl(271, 73%, 13%)
HSVhsv(271, 84%, 22%)
CMYKcmyk(40.4%, 84.2%, 0%, 77.6%)
CIE-LABlab(7.51, 23.98, -25.69)
CIE-LCHlch(7.51, 35.14, 313.03°)
OKLaboklab(21.33% 0.0483 -0.0732)
OKLCHoklch(21.33% 0.088 303.4)
XYZxyz(1.4957, 0.8309, 3.9517)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220939 #203909
analogous
#0A0939 #220939 #390938
triadic
#220939 #392209 #093922
tetradic
#220939 #390A09 #203909 #093839
square
#220939 #390A09 #203909 #093839
split-complementary
#220939 #383909 #09390A
monochromatic
#10041A #10041A #220939 #42116E #611AA3

Accessibility & contrast

On white

18.01
#220939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#220939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220939
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220939#FFFFFF#000000##FFFFFF
##2209391.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #220939;
/* rgb */ color: rgb(34, 9, 57);
/* oklch */ color: oklch(21.3% 0.088 303.4);
Tailwind
colors: {
  custom: {
    50: '#604b70',
    500: '#220939',
    950: '#000000',
  },
}
SCSS
$custom: #220939;
$custom-light: #604b70;
$custom-dark: #000000;
JSON
{
  "hex": "#220939",
  "rgb": {
    "r": 34,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 271.25,
    "s": 72.727,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21327,
    "c": 0.0877,
    "h": 303.4
  },
  "luminance": 0.00831
}

Semantic roles & 50–950 ramp

primary
#220939
secondary
#4D7727
accent
#EF3890
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220939

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

Preview Lab → · Contrast checker → · Palette generator →

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