#220547#220547

#220547 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.110 H 295.8°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#220547
RGBrgb(34, 5, 71)
HSLhsl(266, 87%, 15%)
HSVhsv(266, 93%, 28%)
CMYKcmyk(52.1%, 93%, 0%, 72.2%)
CIE-LABlab(8.16, 30.38, -34.61)
CIE-LCHlch(8.16, 46.05, 311.28°)
OKLaboklab(22.24% 0.048 -0.0993)
OKLCHoklch(22.24% 0.11 295.8)
XYZxyz(1.8510, 0.9035, 6.0369)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220547 #2A4705
analogous
#050947 #220547 #430547
triadic
#220547 #472205 #054722
tetradic
#220547 #470509 #2A4705 #054743
square
#220547 #470509 #2A4705 #054743
split-complementary
#220547 #474305 #094705
monochromatic
#0E021D #0E021D #220547 #3D0980 #590DB9

Accessibility & contrast

On white

17.78
#220547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#220547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220547
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220547#FFFFFF#000000##FFFFFF
##2205471.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001746
Tritanopia (blue-blind)
#171927
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220547;
/* rgb */ color: rgb(34, 5, 71);
/* oklch */ color: oklch(22.2% 0.110 295.8);
Tailwind
colors: {
  custom: {
    50: '#63497b',
    500: '#220547',
    950: '#000000',
  },
}
SCSS
$custom: #220547;
$custom-light: #63497b;
$custom-dark: #000000;
JSON
{
  "hex": "#220547",
  "rgb": {
    "r": 34,
    "g": 5,
    "b": 71
  },
  "hsl": {
    "h": 266.364,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2224,
    "c": 0.11029,
    "h": 295.8
  },
  "luminance": 0.00904
}

Semantic roles & 50–950 ramp

primary
#220547
secondary
#5A8721
accent
#FD2BA1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #220547

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

Preview Lab → · Contrast checker → · Palette generator →

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