#160838#160838

#160838 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.087 H 289.1°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#160838
RGBrgb(22, 8, 56)
HSLhsl(258, 75%, 13%)
HSVhsv(258, 86%, 22%)
CMYKcmyk(60.7%, 85.7%, 0%, 78%)
CIE-LABlab(5.69, 20.68, -27.98)
CIE-LCHlch(5.69, 34.79, 306.47°)
OKLaboklab(19.44% 0.0284 -0.0817)
OKLCHoklch(19.44% 0.087 289.1)
XYZxyz(1.1313, 0.6297, 3.8025)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160838 #2A3808
analogous
#081238 #160838 #2E0838
triadic
#160838 #381608 #083816
tetradic
#160838 #380812 #2A3808 #08382E
square
#160838 #380812 #2A3808 #08382E
split-complementary
#160838 #382E08 #123808
monochromatic
#0B041B #0B041B #160838 #2B106E #4017A3

Accessibility & contrast

On white

18.65
#160838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#160838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160838
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160838#FFFFFF#000000##FFFFFF
##1608381.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#001137
Tritanopia (blue-blind)
#09151F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #160838;
/* rgb */ color: rgb(22, 8, 56);
/* oklch */ color: oklch(19.4% 0.087 289.1);
Tailwind
colors: {
  custom: {
    50: '#57496f',
    500: '#160838',
    950: '#000000',
  },
}
SCSS
$custom: #160838;
$custom-light: #57496f;
$custom-dark: #000000;
JSON
{
  "hex": "#160838",
  "rgb": {
    "r": 22,
    "g": 8,
    "b": 56
  },
  "hsl": {
    "h": 257.5,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19439,
    "c": 0.08652,
    "h": 289.1
  },
  "luminance": 0.0063
}

Semantic roles & 50–950 ramp

primary
#160838
secondary
#5F7725
accent
#F236BB
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #160838

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

Preview Lab → · Contrast checker → · Palette generator →

#160838 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva