#16022F#16022F

#16022F is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.2% C 0.085 H 298.2°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#16022F
RGBrgb(22, 2, 47)
HSLhsl(267, 92%, 10%)
HSVhsv(267, 96%, 18%)
CMYKcmyk(53.2%, 95.7%, 0%, 81.6%)
CIE-LABlab(3.79, 19.12, -24.38)
CIE-LCHlch(3.79, 30.99, 308.11°)
OKLaboklab(17.23% 0.0403 -0.0752)
OKLCHoklch(17.23% 0.085 298.2)
XYZxyz(0.8655, 0.4192, 2.7241)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16022F #1B2F02
analogous
#02042F #16022F #2D022F
triadic
#16022F #2F1602 #022F16
tetradic
#16022F #2F0204 #1B2F02 #022F2D
square
#16022F #2F0204 #1B2F02 #022F2D
split-complementary
#16022F #2F2D02 #042F02
monochromatic
#0E011D #0E011D #16022F #31046A #4D07A4

Accessibility & contrast

On white

19.38
#16022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#16022F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16022F
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16022F#FFFFFF#000000##FFFFFF
##16022F1.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E30
Deuteranopia (green-blind)
#000D2E
Tritanopia (blue-blind)
#0F0D18
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #16022f;
/* rgb */ color: rgb(22, 2, 47);
/* oklch */ color: oklch(17.2% 0.085 298.2);
Tailwind
colors: {
  custom: {
    50: '#554768',
    500: '#16022f',
    950: '#000000',
  },
}
SCSS
$custom: #16022f;
$custom-light: #554768;
$custom-dark: #000000;
JSON
{
  "hex": "#16022f",
  "rgb": {
    "r": 22,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 266.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.17233,
    "c": 0.08533,
    "h": 298.2
  },
  "luminance": 0.00419
}

Semantic roles & 50–950 ramp

primary
#16022F
secondary
#4B7419
accent
#FF29A0
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #16022F

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

Preview Lab → · Contrast checker → · Palette generator →

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