#160C20#160C20

#160C20 is a very dark, muted violet. Relative luminance 0.005; OKLCH L 18.0% C 0.042 H 305.7°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#160C20
RGBrgb(22, 12, 32)
HSLhsl(270, 45%, 9%)
HSVhsv(270, 63%, 13%)
CMYKcmyk(31.2%, 62.5%, 0%, 87.5%)
CIE-LABlab(4.86, 8.68, -11.25)
CIE-LCHlch(4.86, 14.20, 307.65°)
OKLaboklab(17.96% 0.0244 -0.034)
OKLCHoklch(17.96% 0.042 305.7)
XYZxyz(0.7230, 0.5378, 1.4319)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C20 #16200C
analogous
#0C0C20 #160C20 #200C20
triadic
#160C20 #20160C #0C2016
tetradic
#160C20 #200C0C #16200C #0C2020
square
#160C20 #200C0C #16200C #0C2020
split-complementary
#160C20 #20200C #0C200C
monochromatic
#0F0816 #0F0816 #160C20 #351D4D #532D79

Accessibility & contrast

On white

18.96
#160C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#160C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160C20
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C20#FFFFFF#000000##FFFFFF
##160C201.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071021
Deuteranopia (green-blind)
#09111F
Tritanopia (blue-blind)
#140F14
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #160c20;
/* rgb */ color: rgb(22, 12, 32);
/* oklch */ color: oklch(18.0% 0.042 305.7);
Tailwind
colors: {
  custom: {
    50: '#534c5b',
    500: '#160c20',
    950: '#000000',
  },
}
SCSS
$custom: #160c20;
$custom-light: #534c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#160c20",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 32
  },
  "hsl": {
    "h": 270,
    "s": 45.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.1796,
    "c": 0.04187,
    "h": 305.7
  },
  "luminance": 0.00538
}

Semantic roles & 50–950 ramp

primary
#160C20
secondary
#445A2E
accent
#D55394
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020104
muted
#787779

Preview Lab

Preview with #160C20

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

Preview Lab → · Contrast checker → · Palette generator →

#160C20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva