#160B2C#160B2C

#160B2C is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.8% C 0.064 H 294.9°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#160B2C
RGBrgb(22, 11, 44)
HSLhsl(260, 60%, 11%)
HSVhsv(260, 75%, 17%)
CMYKcmyk(50%, 75%, 0%, 82.7%)
CIE-LABlab(5.34, 13.98, -19.65)
CIE-LCHlch(5.34, 24.12, 305.42°)
OKLaboklab(18.75% 0.0268 -0.0578)
OKLCHoklch(18.75% 0.064 294.9)
XYZxyz(0.9051, 0.5917, 2.4489)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160B2C #212C0B
analogous
#0B102C #160B2C #260B2C
triadic
#160B2C #2C160B #0B2C16
tetradic
#160B2C #2C0B10 #212C0B #0B2C26
square
#160B2C #2C0B10 #212C0B #0B2C26
split-complementary
#160B2C #2C260B #102C0B
monochromatic
#0C0618 #0C0618 #160B2C #2E175D #47238E

Accessibility & contrast

On white

18.78
#160B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160B2C
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160B2C#FFFFFF#000000##FFFFFF
##160B2C1.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122D
Deuteranopia (green-blind)
#00112B
Tritanopia (blue-blind)
#101219
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #160b2c;
/* rgb */ color: rgb(22, 11, 44);
/* oklch */ color: oklch(18.8% 0.064 294.9);
Tailwind
colors: {
  custom: {
    50: '#544b65',
    500: '#160b2c',
    950: '#000000',
  },
}
SCSS
$custom: #160b2c;
$custom-light: #544b65;
$custom-dark: #000000;
JSON
{
  "hex": "#160b2c",
  "rgb": {
    "r": 22,
    "g": 11,
    "b": 44
  },
  "hsl": {
    "h": 260,
    "s": 60,
    "l": 10.784
  },
  "oklch": {
    "l": 0.1875,
    "c": 0.06368,
    "h": 294.9
  },
  "luminance": 0.00592
}

Semantic roles & 50–950 ramp

primary
#160B2C
secondary
#54682B
accent
#E345AE
background
#F5F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030105
muted
#78777A

Preview Lab

Preview with #160B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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