#220C49#220C49

#220C49 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.104 H 292.9°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#220C49
RGBrgb(34, 12, 73)
HSLhsl(262, 72%, 17%)
HSVhsv(262, 84%, 29%)
CMYKcmyk(53.4%, 83.6%, 0%, 71.4%)
CIE-LABlab(9.67, 27.23, -33.52)
CIE-LCHlch(9.67, 43.19, 309.08°)
OKLaboklab(23.36% 0.0406 -0.0962)
OKLCHoklch(23.36% 0.104 292.9)
XYZxyz(1.9934, 1.0840, 6.4062)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C49 #33490C
analogous
#0C1549 #220C49 #410C49
triadic
#220C49 #49220C #0C4922
tetradic
#220C49 #490C15 #33490C #0C4941
square
#220C49 #490C15 #33490C #0C4941
split-complementary
#220C49 #49410C #15490C
monochromatic
#0C041A #0C041A #220C49 #3A157E #531DB2

Accessibility & contrast

On white

17.26
#220C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#220C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220C49
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C49#FFFFFF#000000##FFFFFF
##220C491.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001A48
Tritanopia (blue-blind)
#161D2A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #220c49;
/* rgb */ color: rgb(34, 12, 73);
/* oklch */ color: oklch(23.4% 0.104 292.9);
Tailwind
colors: {
  custom: {
    50: '#624d7c',
    500: '#220c49',
    950: '#000000',
  },
}
SCSS
$custom: #220c49;
$custom-light: #624d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#220c49",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 261.639,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23357,
    "c": 0.10441,
    "h": 292.9
  },
  "luminance": 0.01084
}

Semantic roles & 50–950 ramp

primary
#220C49
secondary
#65852C
accent
#EE39AD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #220C49

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

Preview Lab → · Contrast checker → · Palette generator →

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