#160D3E#160D3E

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

Color values

HEX#160D3E
RGBrgb(22, 13, 62)
HSLhsl(251, 65%, 15%)
HSVhsv(251, 79%, 24%)
CMYKcmyk(64.5%, 79%, 0%, 75.7%)
CIE-LABlab(7.28, 20.56, -29.72)
CIE-LCHlch(7.28, 36.14, 304.67°)
OKLaboklab(20.94% 0.0216 -0.0856)
OKLCHoklch(20.94% 0.088 284.2)
XYZxyz(1.3440, 0.8061, 4.6413)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160D3E #353E0D
analogous
#0D1D3E #160D3E #2E0D3E
triadic
#160D3E #3E160D #0D3E16
tetradic
#160D3E #3E0D1D #353E0D #0D3E2E
square
#160D3E #3E0D1D #353E0D #0D3E2E
split-complementary
#160D3E #3E2E0D #1D3E0D
monochromatic
#090519 #090519 #160D3E #281871 #3A22A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##160D3E#FFFFFF#000000##FFFFFF
##160D3E1.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)
#00183F
Deuteranopia (green-blind)
#00143D
Tritanopia (blue-blind)
#041A24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #160d3e;
/* rgb */ color: rgb(22, 13, 62);
/* oklch */ color: oklch(20.9% 0.088 284.2);
Tailwind
colors: {
  custom: {
    50: '#594c74',
    500: '#160d3e',
    950: '#000000',
  },
}
SCSS
$custom: #160d3e;
$custom-light: #594c74;
$custom-dark: #000000;
JSON
{
  "hex": "#160d3e",
  "rgb": {
    "r": 22,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 251.02,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20944,
    "c": 0.08833,
    "h": 284.2
  },
  "luminance": 0.00806
}

Semantic roles & 50–950 ramp

primary
#160D3E
secondary
#6C7A2D
accent
#E840C9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #160D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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