#160F32#160F32

#160F32 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.066 H 288.1°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#160F32
RGBrgb(22, 15, 50)
HSLhsl(252, 54%, 13%)
HSVhsv(252, 70%, 20%)
CMYKcmyk(56%, 70%, 0%, 80.4%)
CIE-LABlab(6.71, 14.44, -21.94)
CIE-LCHlch(6.71, 26.27, 303.35°)
OKLaboklab(20.13% 0.0207 -0.063)
OKLCHoklch(20.13% 0.066 288.1)
XYZxyz(1.0773, 0.7425, 3.1035)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F32 #2B320F
analogous
#0F1932 #160F32 #270F32
triadic
#160F32 #32160F #0F3216
tetradic
#160F32 #320F19 #2B320F #0F3227
square
#160F32 #320F19 #2B320F #0F3227
split-complementary
#160F32 #32270F #19320F
monochromatic
#0A0718 #0A0718 #160F32 #2B1D61 #3F2B90

Accessibility & contrast

On white

18.28
#160F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#160F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160F32
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F32#FFFFFF#000000##FFFFFF
##160F321.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001633
Deuteranopia (green-blind)
#001431
Tritanopia (blue-blind)
#0D171E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #160f32;
/* rgb */ color: rgb(22, 15, 50);
/* oklch */ color: oklch(20.1% 0.066 288.1);
Tailwind
colors: {
  custom: {
    50: '#564d6a',
    500: '#160f32',
    950: '#000000',
  },
}
SCSS
$custom: #160f32;
$custom-light: #564d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#160f32",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 252,
    "s": 53.846,
    "l": 12.745
  },
  "oklch": {
    "l": 0.20125,
    "c": 0.06635,
    "h": 288.1
  },
  "luminance": 0.00743
}

Semantic roles & 50–950 ramp

primary
#160F32
secondary
#606C31
accent
#DD4BC0
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #160F32

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

Preview Lab → · Contrast checker → · Palette generator →

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