#160C26#160C26

#160C26 is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.4% C 0.052 H 299.0°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#160C26
RGBrgb(22, 12, 38)
HSLhsl(263, 52%, 10%)
HSVhsv(263, 68%, 15%)
CMYKcmyk(42.1%, 68.4%, 0%, 85.1%)
CIE-LABlab(5.18, 10.94, -15.37)
CIE-LCHlch(5.18, 18.87, 305.45°)
OKLaboklab(18.43% 0.0252 -0.0455)
OKLCHoklch(18.43% 0.052 299)
XYZxyz(0.8121, 0.5734, 1.9012)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C26 #1C260C
analogous
#0C0F26 #160C26 #230C26
triadic
#160C26 #26160C #0C2616
tetradic
#160C26 #260C0F #1C260C #0C2623
square
#160C26 #260C0F #1C260C #0C2623
split-complementary
#160C26 #26230C #0F260C
monochromatic
#0D0717 #0D0717 #160C26 #311B55 #4C2983

Accessibility & contrast

On white

18.84
#160C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160C26
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C26#FFFFFF#000000##FFFFFF
##160C261.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041127
Deuteranopia (green-blind)
#061125
Tritanopia (blue-blind)
#131117
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #160c26;
/* rgb */ color: rgb(22, 12, 38);
/* oklch */ color: oklch(18.4% 0.052 299.0);
Tailwind
colors: {
  custom: {
    50: '#534c60',
    500: '#160c26',
    950: '#000000',
  },
}
SCSS
$custom: #160c26;
$custom-light: #534c60;
$custom-dark: #000000;
JSON
{
  "hex": "#160c26",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 38
  },
  "hsl": {
    "h": 263.077,
    "s": 52,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18429,
    "c": 0.05196,
    "h": 299
  },
  "luminance": 0.00573
}

Semantic roles & 50–950 ramp

primary
#160C26
secondary
#4D612D
accent
#DB4CA4
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020105
muted
#787779

Preview Lab

Preview with #160C26

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

Preview Lab → · Contrast checker → · Palette generator →

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