#220C46#220C46

#220C46 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.100 H 294.4°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#220C46
RGBrgb(34, 12, 70)
HSLhsl(263, 71%, 16%)
HSVhsv(263, 83%, 27%)
CMYKcmyk(51.4%, 82.9%, 0%, 72.5%)
CIE-LABlab(9.36, 26.29, -31.93)
CIE-LCHlch(9.36, 41.36, 309.46°)
OKLaboklab(23.04% 0.0415 -0.0915)
OKLCHoklch(23.04% 0.1 294.4)
XYZxyz(1.8963, 1.0452, 5.8950)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C46 #30460C
analogous
#0C1346 #220C46 #3F0C46
triadic
#220C46 #46220C #0C4622
tetradic
#220C46 #460C13 #30460C #0C463F
square
#220C46 #460C13 #30460C #0C463F
split-complementary
#220C46 #463F0C #13460C
monochromatic
#0D041A #0D041A #220C46 #3B157A #551EAE

Accessibility & contrast

On white

17.37
#220C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#220C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220C46
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C46#FFFFFF#000000##FFFFFF
##220C461.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B48
Deuteranopia (green-blind)
#001945
Tritanopia (blue-blind)
#181B28
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220c46;
/* rgb */ color: rgb(34, 12, 70);
/* oklch */ color: oklch(23.0% 0.100 294.4);
Tailwind
colors: {
  custom: {
    50: '#624d7a',
    500: '#220c46',
    950: '#000000',
  },
}
SCSS
$custom: #220c46;
$custom-light: #624d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#220c46",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 262.759,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23043,
    "c": 0.10049,
    "h": 294.4
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#220C46
secondary
#61822C
accent
#ED3AAA
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #220C46

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

Preview Lab → · Contrast checker → · Palette generator →

#220C46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva