#220C47#220C47

#220C47 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.102 H 293.9°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#220C47
RGBrgb(34, 12, 71)
HSLhsl(262, 71%, 16%)
HSVhsv(262, 83%, 28%)
CMYKcmyk(52.1%, 83.1%, 0%, 72.2%)
CIE-LABlab(9.46, 26.60, -32.47)
CIE-LCHlch(9.46, 41.97, 309.33°)
OKLaboklab(23.15% 0.0412 -0.0931)
OKLCHoklch(23.15% 0.102 293.9)
XYZxyz(1.9282, 1.0579, 6.0626)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C47 #31470C
analogous
#0C1447 #220C47 #400C47
triadic
#220C47 #47220C #0C4722
tetradic
#220C47 #470C14 #31470C #0C4740
square
#220C47 #470C14 #31470C #0C4740
split-complementary
#220C47 #47400C #14470C
monochromatic
#0D041A #0D041A #220C47 #3B157B #541EB0

Accessibility & contrast

On white

17.33
#220C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220C47
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C47#FFFFFF#000000##FFFFFF
##220C471.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001946
Tritanopia (blue-blind)
#171C29
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220c47;
/* rgb */ color: rgb(34, 12, 71);
/* oklch */ color: oklch(23.1% 0.102 293.9);
Tailwind
colors: {
  custom: {
    50: '#624d7b',
    500: '#220c47',
    950: '#000000',
  },
}
SCSS
$custom: #220c47;
$custom-light: #624d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#220c47",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 262.373,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23147,
    "c": 0.10179,
    "h": 293.9
  },
  "luminance": 0.01058
}

Semantic roles & 50–950 ramp

primary
#220C47
secondary
#62832C
accent
#EE3AAB
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #220C47

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

Preview Lab → · Contrast checker → · Palette generator →

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