#160D3F#160D3F

#160D3F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.090 H 283.8°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#160D3F
RGBrgb(22, 13, 63)
HSLhsl(251, 66%, 15%)
HSVhsv(251, 79%, 25%)
CMYKcmyk(65.1%, 79.4%, 0%, 75.3%)
CIE-LABlab(7.38, 20.95, -30.28)
CIE-LCHlch(7.38, 36.82, 304.68°)
OKLaboklab(21.05% 0.0214 -0.0872)
OKLCHoklch(21.05% 0.09 283.8)
XYZxyz(1.3717, 0.8172, 4.7871)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160D3F #363F0D
analogous
#0D1D3F #160D3F #2F0D3F
triadic
#160D3F #3F160D #0D3F16
tetradic
#160D3F #3F0D1D #363F0D #0D3F2F
square
#160D3F #3F0D1D #363F0D #0D3F2F
split-complementary
#160D3F #3F2F0D #1D3F0D
monochromatic
#090519 #090519 #160D3F #281772 #3922A4

Accessibility & contrast

On white

18.05
#160D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160D3F
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160D3F#FFFFFF#000000##FFFFFF
##160D3F1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001841
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#031A24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #160d3f;
/* rgb */ color: rgb(22, 13, 63);
/* oklch */ color: oklch(21.1% 0.090 283.8);
Tailwind
colors: {
  custom: {
    50: '#594c75',
    500: '#160d3f',
    950: '#000000',
  },
}
SCSS
$custom: #160d3f;
$custom-light: #594c75;
$custom-dark: #000000;
JSON
{
  "hex": "#160d3f",
  "rgb": {
    "r": 22,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 250.8,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21053,
    "c": 0.08981,
    "h": 283.8
  },
  "luminance": 0.00817
}

Semantic roles & 50–950 ramp

primary
#160D3F
secondary
#6D7B2D
accent
#E93FCA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #160D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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