#160C2F#160C2F

#160C2F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.067 H 292.1°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#160C2F
RGBrgb(22, 12, 47)
HSLhsl(257, 59%, 12%)
HSVhsv(257, 74%, 18%)
CMYKcmyk(53.2%, 74.5%, 0%, 81.6%)
CIE-LABlab(5.77, 14.82, -21.22)
CIE-LCHlch(5.77, 25.88, 304.92°)
OKLaboklab(19.23% 0.0251 -0.0618)
OKLCHoklch(19.23% 0.067 292.1)
XYZxyz(0.9753, 0.6387, 2.7607)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C2F #252F0C
analogous
#0C142F #160C2F #280C2F
triadic
#160C2F #2F160C #0C2F16
tetradic
#160C2F #2F0C14 #252F0C #0C2F28
square
#160C2F #2F0C14 #252F0C #0C2F28
split-complementary
#160C2F #2F280C #142F0C
monochromatic
#0B0618 #0B0618 #160C2F #2D1860 #442591

Accessibility & contrast

On white

18.62
#160C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#160C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160C2F
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C2F#FFFFFF#000000##FFFFFF
##160C2F1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#0F141B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #160c2f;
/* rgb */ color: rgb(22, 12, 47);
/* oklch */ color: oklch(19.2% 0.067 292.1);
Tailwind
colors: {
  custom: {
    50: '#554b68',
    500: '#160c2f',
    950: '#000000',
  },
}
SCSS
$custom: #160c2f;
$custom-light: #554b68;
$custom-dark: #000000;
JSON
{
  "hex": "#160c2f",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 257.143,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.1923,
    "c": 0.06669,
    "h": 292.1
  },
  "luminance": 0.00639
}

Semantic roles & 50–950 ramp

primary
#160C2F
secondary
#596B2C
accent
#E345B6
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #160C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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