#160F2E#160F2E

#160F2E is a very dark, muted violet. Relative luminance 0.007; OKLCH L 19.8% C 0.060 H 290.3°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#160F2E
RGBrgb(22, 15, 46)
HSLhsl(254, 51%, 12%)
HSVhsv(254, 67%, 18%)
CMYKcmyk(52.2%, 67.4%, 0%, 82%)
CIE-LABlab(6.41, 12.78, -19.46)
CIE-LCHlch(6.41, 23.28, 303.29°)
OKLaboklab(19.77% 0.0207 -0.056)
OKLCHoklch(19.77% 0.06 290.3)
XYZxyz(0.9947, 0.7094, 2.6688)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F2E #272E0F
analogous
#0F182E #160F2E #260F2E
triadic
#160F2E #2E160F #0F2E16
tetradic
#160F2E #2E0F18 #272E0F #0F2E26
square
#160F2E #2E0F18 #272E0F #0F2E26
split-complementary
#160F2E #2E260F #182E0F
monochromatic
#0B0817 #0B0817 #160F2E #2C1E5C #422D8A

Accessibility & contrast

On white

18.39
#160F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160F2E
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F2E#FFFFFF#000000##FFFFFF
##160F2E1.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02152F
Deuteranopia (green-blind)
#03142D
Tritanopia (blue-blind)
#0F161C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #160f2e;
/* rgb */ color: rgb(22, 15, 46);
/* oklch */ color: oklch(19.8% 0.060 290.3);
Tailwind
colors: {
  custom: {
    50: '#554d67',
    500: '#160f2e',
    950: '#000000',
  },
}
SCSS
$custom: #160f2e;
$custom-light: #554d67;
$custom-dark: #000000;
JSON
{
  "hex": "#160f2e",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 253.548,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19765,
    "c": 0.05965,
    "h": 290.3
  },
  "luminance": 0.00709
}

Semantic roles & 50–950 ramp

primary
#160F2E
secondary
#5B6831
accent
#DA4DBB
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #160F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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