#220539#220539

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

Color values

HEX#220539
RGBrgb(34, 5, 57)
HSLhsl(273, 84%, 12%)
HSVhsv(273, 91%, 22%)
CMYKcmyk(40.4%, 91.2%, 0%, 77.6%)
CIE-LABlab(6.72, 26.14, -26.96)
CIE-LCHlch(6.72, 37.55, 314.11°)
OKLaboklab(20.73% 0.0536 -0.0772)
OKLCHoklch(20.73% 0.094 304.8)
XYZxyz(1.4523, 0.7440, 3.9372)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220539 #1C3905
analogous
#080539 #220539 #390536
triadic
#220539 #392205 #053922
tetradic
#220539 #390805 #1C3905 #053639
square
#220539 #390805 #1C3905 #053639
split-complementary
#220539 #363905 #053908
monochromatic
#11021C #11021C #220539 #440A71 #650FAA

Accessibility & contrast

On white

18.28
#220539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220539
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220539#FFFFFF#000000##FFFFFF
##2205391.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001538
Tritanopia (blue-blind)
#1E121F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220539;
/* rgb */ color: rgb(34, 5, 57);
/* oklch */ color: oklch(20.7% 0.094 304.8);
Tailwind
colors: {
  custom: {
    50: '#604870',
    500: '#220539',
    950: '#000000',
  },
}
SCSS
$custom: #220539;
$custom-light: #604870;
$custom-dark: #000000;
JSON
{
  "hex": "#220539",
  "rgb": {
    "r": 34,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 273.462,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20731,
    "c": 0.094,
    "h": 304.8
  },
  "luminance": 0.00744
}

Semantic roles & 50–950 ramp

primary
#220539
secondary
#487A20
accent
#FA2E88
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220539

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

Preview Lab → · Contrast checker → · Palette generator →

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