#160F2D#160F2D

#160F2D is a very dark, muted violet. Relative luminance 0.007; OKLCH L 19.7% C 0.058 H 290.9°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#160F2D
RGBrgb(22, 15, 45)
HSLhsl(254, 50%, 12%)
HSVhsv(254, 67%, 18%)
CMYKcmyk(51.1%, 66.7%, 0%, 82.4%)
CIE-LABlab(6.34, 12.36, -18.83)
CIE-LCHlch(6.34, 22.52, 303.29°)
OKLaboklab(19.68% 0.0206 -0.0542)
OKLCHoklch(19.68% 0.058 290.9)
XYZxyz(0.9752, 0.7017, 2.5662)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F2D #262D0F
analogous
#0F172D #160F2D #250F2D
triadic
#160F2D #2D160F #0F2D16
tetradic
#160F2D #2D0F17 #262D0F #0F2D25
square
#160F2D #2D0F17 #262D0F #0F2D25
split-complementary
#160F2D #2D250F #172D0F
monochromatic
#0B0817 #0B0817 #160F2D #2C1E5B #432E89

Accessibility & contrast

On white

18.41
#160F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#160F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160F2D
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F2D#FFFFFF#000000##FFFFFF
##160F2D1.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152E
Deuteranopia (green-blind)
#04132C
Tritanopia (blue-blind)
#10151C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #160f2d;
/* rgb */ color: rgb(22, 15, 45);
/* oklch */ color: oklch(19.7% 0.058 290.9);
Tailwind
colors: {
  custom: {
    50: '#554d66',
    500: '#160f2d',
    950: '#000000',
  },
}
SCSS
$custom: #160f2d;
$custom-light: #554d66;
$custom-dark: #000000;
JSON
{
  "hex": "#160f2d",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 254,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19678,
    "c": 0.05796,
    "h": 290.9
  },
  "luminance": 0.00702
}

Semantic roles & 50–950 ramp

primary
#160F2D
secondary
#5A6631
accent
#DA4EB9
background
#F5F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #160F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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