#220646#220646

#220646 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.3% C 0.108 H 296.1°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#220646
RGBrgb(34, 6, 70)
HSLhsl(266, 84%, 15%)
HSVhsv(266, 91%, 27%)
CMYKcmyk(51.4%, 91.4%, 0%, 72.5%)
CIE-LABlab(8.24, 29.53, -33.77)
CIE-LCHlch(8.24, 44.86, 311.16°)
OKLaboklab(22.26% 0.0474 -0.0968)
OKLCHoklch(22.26% 0.108 296.1)
XYZxyz(1.8300, 0.9125, 5.8729)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220646 #2A4606
analogous
#060A46 #220646 #420646
triadic
#220646 #462206 #064622
tetradic
#220646 #46060A #2A4606 #064642
square
#220646 #46060A #2A4606 #064642
split-complementary
#220646 #464206 #0A4606
monochromatic
#0E021C #0E021C #220646 #3D0B7E #5910B7

Accessibility & contrast

On white

17.76
#220646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220646
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220646#FFFFFF#000000##FFFFFF
##2206461.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001745
Tritanopia (blue-blind)
#181927
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220646;
/* rgb */ color: rgb(34, 6, 70);
/* oklch */ color: oklch(22.3% 0.108 296.1);
Tailwind
colors: {
  custom: {
    50: '#624a7a',
    500: '#220646',
    950: '#000000',
  },
}
SCSS
$custom: #220646;
$custom-light: #624a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#220646",
  "rgb": {
    "r": 34,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 266.25,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22261,
    "c": 0.10784,
    "h": 296.1
  },
  "luminance": 0.00913
}

Semantic roles & 50–950 ramp

primary
#220646
secondary
#5A8522
accent
#FA2DA1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #220646

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

Preview Lab → · Contrast checker → · Palette generator →

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