#220541#220541

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

Color values

HEX#220541
RGBrgb(34, 5, 65)
HSLhsl(269, 86%, 14%)
HSVhsv(269, 92%, 25%)
CMYKcmyk(47.7%, 92.3%, 0%, 74.5%)
CIE-LABlab(7.50, 28.64, -31.45)
CIE-LCHlch(7.50, 42.53, 312.32°)
OKLaboklab(21.58% 0.0506 -0.0901)
OKLCHoklch(21.58% 0.103 299.3)
XYZxyz(1.6678, 0.8303, 5.0724)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220541 #244105
analogous
#050641 #220541 #400541
triadic
#220541 #412205 #054122
tetradic
#220541 #410506 #244105 #054140
square
#220541 #410506 #244105 #054140
split-complementary
#220541 #414005 #064105
monochromatic
#0F021C #0F021C #220541 #40097A #5D0EB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##220541#FFFFFF#000000##FFFFFF
##2205411.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)
#001643
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#1A1623
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220541;
/* rgb */ color: rgb(34, 5, 65);
/* oklch */ color: oklch(21.6% 0.103 299.3);
Tailwind
colors: {
  custom: {
    50: '#624976',
    500: '#220541',
    950: '#000000',
  },
}
SCSS
$custom: #220541;
$custom-light: #624976;
$custom-dark: #000000;
JSON
{
  "hex": "#220541",
  "rgb": {
    "r": 34,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 269,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21575,
    "c": 0.1033,
    "h": 299.3
  },
  "luminance": 0.0083
}

Semantic roles & 50–950 ramp

primary
#220541
secondary
#538120
accent
#FC2C97
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #220541

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

Preview Lab → · Contrast checker → · Palette generator →

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