#220647#220647

#220647 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.4% C 0.109 H 295.5°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#220647
RGBrgb(34, 6, 71)
HSLhsl(266, 84%, 15%)
HSVhsv(266, 92%, 28%)
CMYKcmyk(52.1%, 91.5%, 0%, 72.2%)
CIE-LABlab(8.35, 29.82, -34.29)
CIE-LCHlch(8.35, 45.44, 311.01°)
OKLaboklab(22.37% 0.047 -0.0984)
OKLCHoklch(22.37% 0.109 295.5)
XYZxyz(1.8618, 0.9252, 6.0405)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220647 #2B4706
analogous
#060B47 #220647 #420647
triadic
#220647 #472206 #064722
tetradic
#220647 #47060B #2B4706 #064742
square
#220647 #47060B #2B4706 #064742
split-complementary
#220647 #474206 #0B4706
monochromatic
#0E021C #0E021C #220647 #3D0B7F #5810B8

Accessibility & contrast

On white

17.72
#220647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#220647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220647
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220647#FFFFFF#000000##FFFFFF
##2206471.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #220647;
/* rgb */ color: rgb(34, 6, 71);
/* oklch */ color: oklch(22.4% 0.109 295.5);
Tailwind
colors: {
  custom: {
    50: '#624a7b',
    500: '#220647',
    950: '#000000',
  },
}
SCSS
$custom: #220647;
$custom-light: #624a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#220647",
  "rgb": {
    "r": 34,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 265.846,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22372,
    "c": 0.10903,
    "h": 295.5
  },
  "luminance": 0.00925
}

Semantic roles & 50–950 ramp

primary
#220647
secondary
#5B8623
accent
#FB2DA2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #220647

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

Preview Lab → · Contrast checker → · Palette generator →

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