#220C3D#220C3D

#220C3D is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.089 H 299.6°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#220C3D
RGBrgb(34, 12, 61)
HSLhsl(267, 67%, 14%)
HSVhsv(267, 80%, 24%)
CMYKcmyk(44.3%, 80.3%, 0%, 76.1%)
CIE-LABlab(8.48, 23.51, -26.99)
CIE-LCHlch(8.48, 35.79, 311.06°)
OKLaboklab(22.15% 0.0437 -0.077)
OKLCHoklch(22.15% 0.089 299.6)
XYZxyz(1.6333, 0.9399, 4.5094)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C3D #273D0C
analogous
#0C0F3D #220C3D #3B0C3D
triadic
#220C3D #3D220C #0C3D22
tetradic
#220C3D #3D0C0F #273D0C #0C3D3B
square
#220C3D #3D0C0F #273D0C #0C3D3B
split-complementary
#220C3D #3D3B0C #0F3D0C
monochromatic
#0E051A #0E051A #220C3D #3F1670 #5B20A3

Accessibility & contrast

On white

17.68
#220C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220C3D
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C3D#FFFFFF#000000##FFFFFF
##220C3D1.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183E
Deuteranopia (green-blind)
#00183C
Tritanopia (blue-blind)
#1C1823
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220c3d;
/* rgb */ color: rgb(34, 12, 61);
/* oklch */ color: oklch(22.1% 0.089 299.6);
Tailwind
colors: {
  custom: {
    50: '#604d73',
    500: '#220c3d',
    950: '#000000',
  },
}
SCSS
$custom: #220c3d;
$custom-light: #604d73;
$custom-dark: #000000;
JSON
{
  "hex": "#220c3d",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 266.939,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22145,
    "c": 0.08855,
    "h": 299.6
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#220C3D
secondary
#56792C
accent
#EA3E9D
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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