#160C28#160C28

#160C28 is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.6% C 0.055 H 297.2°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#160C28
RGBrgb(22, 12, 40)
HSLhsl(261, 54%, 10%)
HSVhsv(261, 70%, 16%)
CMYKcmyk(45%, 70%, 0%, 84.3%)
CIE-LABlab(5.30, 11.78, -16.70)
CIE-LCHlch(5.30, 20.44, 305.20°)
OKLaboklab(18.6% 0.0253 -0.0492)
OKLCHoklch(18.6% 0.055 297.2)
XYZxyz(0.8453, 0.5867, 2.0758)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C28 #1E280C
analogous
#0C1028 #160C28 #240C28
triadic
#160C28 #28160C #0C2816
tetradic
#160C28 #280C10 #1E280C #0C2824
square
#160C28 #280C10 #1E280C #0C2824
split-complementary
#160C28 #28240C #10280C
monochromatic
#0D0718 #0D0718 #160C28 #301A57 #4A2886

Accessibility & contrast

On white

18.79
#160C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#160C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160C28
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C28#FFFFFF#000000##FFFFFF
##160C281.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021229
Deuteranopia (green-blind)
#041127
Tritanopia (blue-blind)
#121218
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #160c28;
/* rgb */ color: rgb(22, 12, 40);
/* oklch */ color: oklch(18.6% 0.055 297.2);
Tailwind
colors: {
  custom: {
    50: '#544c62',
    500: '#160c28',
    950: '#000000',
  },
}
SCSS
$custom: #160c28;
$custom-light: #544c62;
$custom-dark: #000000;
JSON
{
  "hex": "#160c28",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 40
  },
  "hsl": {
    "h": 261.429,
    "s": 53.846,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18598,
    "c": 0.05529,
    "h": 297.2
  },
  "luminance": 0.00587
}

Semantic roles & 50–950 ramp

primary
#160C28
secondary
#50632D
accent
#DD4BA9
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #160C28

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

Preview Lab → · Contrast checker → · Palette generator →

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