#220C3F#220C3F

#220C3F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.091 H 298.3°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#220C3F
RGBrgb(34, 12, 63)
HSLhsl(266, 68%, 15%)
HSVhsv(266, 81%, 25%)
CMYKcmyk(46%, 81%, 0%, 75.3%)
CIE-LABlab(8.67, 24.12, -28.11)
CIE-LCHlch(8.67, 37.04, 310.63°)
OKLaboklab(22.34% 0.0433 -0.0803)
OKLCHoklch(22.34% 0.091 298.3)
XYZxyz(1.6881, 0.9619, 4.7984)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C3F #293F0C
analogous
#0C103F #220C3F #3C0C3F
triadic
#220C3F #3F220C #0C3F22
tetradic
#220C3F #3F0C10 #293F0C #0C3F3C
square
#220C3F #3F0C10 #293F0C #0C3F3C
split-complementary
#220C3F #3F3C0C #103F0C
monochromatic
#0E051A #0E051A #220C3F #3E1672 #5920A6

Accessibility & contrast

On white

17.61
#220C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#220C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220C3F
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C3F#FFFFFF#000000##FFFFFF
##220C3F1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#1B1924
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #220c3f;
/* rgb */ color: rgb(34, 12, 63);
/* oklch */ color: oklch(22.3% 0.091 298.3);
Tailwind
colors: {
  custom: {
    50: '#614d74',
    500: '#220c3f',
    950: '#000000',
  },
}
SCSS
$custom: #220c3f;
$custom-light: #614d74;
$custom-dark: #000000;
JSON
{
  "hex": "#220c3f",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 265.882,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22339,
    "c": 0.09123,
    "h": 298.3
  },
  "luminance": 0.00962
}

Semantic roles & 50–950 ramp

primary
#220C3F
secondary
#597B2C
accent
#EB3DA0
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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