#220C4D#220C4D

#220C4D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.110 H 291.0°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#220C4D
RGBrgb(34, 12, 77)
HSLhsl(260, 73%, 17%)
HSVhsv(260, 84%, 30%)
CMYKcmyk(55.8%, 84.4%, 0%, 69.8%)
CIE-LABlab(10.10, 28.48, -35.61)
CIE-LCHlch(10.10, 45.60, 308.66°)
OKLaboklab(23.78% 0.0393 -0.1023)
OKLCHoklch(23.78% 0.11 291)
XYZxyz(2.1303, 1.1388, 7.1273)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C4D #374D0C
analogous
#0C164D #220C4D #430C4D
triadic
#220C4D #4D220C #0C4D22
tetradic
#220C4D #4D0C16 #374D0C #0C4D43
square
#220C4D #4D0C16 #374D0C #0C4D43
split-complementary
#220C4D #4D430C #164D0C
monochromatic
#0C041A #0C041A #220C4D #391482 #511DB7

Accessibility & contrast

On white

17.10
#220C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#220C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220C4D
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C4D#FFFFFF#000000##FFFFFF
##220C4D1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4F
Deuteranopia (green-blind)
#001A4C
Tritanopia (blue-blind)
#131E2C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #220c4d;
/* rgb */ color: rgb(34, 12, 77);
/* oklch */ color: oklch(23.8% 0.110 291.0);
Tailwind
colors: {
  custom: {
    50: '#634e7f',
    500: '#220c4d',
    950: '#000000',
  },
}
SCSS
$custom: #220c4d;
$custom-light: #634e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#220c4d",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 77
  },
  "hsl": {
    "h": 260.308,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23784,
    "c": 0.10959,
    "h": 291
  },
  "luminance": 0.01139
}

Semantic roles & 50–950 ramp

primary
#220C4D
secondary
#69892C
accent
#F038B2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #220C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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