#160F39#160F39

#160F39 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.078 H 285.1°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#160F39
RGBrgb(22, 15, 57)
HSLhsl(250, 58%, 14%)
HSVhsv(250, 74%, 22%)
CMYKcmyk(61.4%, 73.7%, 0%, 77.6%)
CIE-LABlab(7.29, 17.30, -26.10)
CIE-LCHlch(7.29, 31.31, 303.53°)
OKLaboklab(20.8% 0.0202 -0.075)
OKLCHoklch(20.8% 0.078 285.1)
XYZxyz(1.2400, 0.8076, 3.9606)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F39 #32390F
analogous
#0F1D39 #160F39 #2B0F39
triadic
#160F39 #39160F #0F3916
tetradic
#160F39 #390F1D #32390F #0F392B
square
#160F39 #390F1D #32390F #0F392B
split-complementary
#160F39 #392B0F #1D390F
monochromatic
#090618 #090618 #160F39 #291C69 #3B299A

Accessibility & contrast

On white

18.08
#160F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#160F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160F39
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F39#FFFFFF#000000##FFFFFF
##160F391.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#001538
Tritanopia (blue-blind)
#081922
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #160f39;
/* rgb */ color: rgb(22, 15, 57);
/* oklch */ color: oklch(20.8% 0.078 285.1);
Tailwind
colors: {
  custom: {
    50: '#574d70',
    500: '#160f39',
    950: '#000000',
  },
}
SCSS
$custom: #160f39;
$custom-light: #574d70;
$custom-dark: #000000;
JSON
{
  "hex": "#160f39",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 250,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20798,
    "c": 0.07766,
    "h": 285.1
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#160F39
secondary
#687330
accent
#E246C8
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #160F39

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

Preview Lab → · Contrast checker → · Palette generator →

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