#16043F#16043F

#16043F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.6% C 0.102 H 287.2°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#16043F
RGBrgb(22, 4, 63)
HSLhsl(258, 88%, 13%)
HSVhsv(258, 94%, 25%)
CMYKcmyk(65.1%, 93.7%, 0%, 75.3%)
CIE-LABlab(5.57, 25.73, -33.24)
CIE-LCHlch(5.57, 42.03, 307.74°)
OKLaboklab(19.58% 0.0301 -0.0972)
OKLCHoklch(19.58% 0.102 287.2)
XYZxyz(1.2712, 0.6162, 4.7536)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16043F #2D3F04
analogous
#040F3F #16043F #33043F
triadic
#16043F #3F1604 #043F16
tetradic
#16043F #3F040F #2D3F04 #043F33
square
#16043F #3F040F #2D3F04 #043F33
split-complementary
#16043F #3F3304 #0F3F04
monochromatic
#0A021D #0A021D #16043F #2A0879 #3E0BB2

Accessibility & contrast

On white

18.70
#16043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#16043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16043F
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16043F#FFFFFF#000000##FFFFFF
##16043F1.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001441
Deuteranopia (green-blind)
#00113E
Tritanopia (blue-blind)
#041622
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #16043f;
/* rgb */ color: rgb(22, 4, 63);
/* oklch */ color: oklch(19.6% 0.102 287.2);
Tailwind
colors: {
  custom: {
    50: '#5a4775',
    500: '#16043f',
    950: '#000000',
  },
}
SCSS
$custom: #16043f;
$custom-light: #5a4775;
$custom-dark: #000000;
JSON
{
  "hex": "#16043f",
  "rgb": {
    "r": 22,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 258.305,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19584,
    "c": 0.10174,
    "h": 287.2
  },
  "luminance": 0.00616
}

Semantic roles & 50–950 ramp

primary
#16043F
secondary
#62801E
accent
#FE2ABD
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #16043F

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

Preview Lab → · Contrast checker → · Palette generator →

#16043F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva