#160428#160428

#160428 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.9% C 0.072 H 303.0°. Best body text is #FFFFFF at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#160428
RGBrgb(22, 4, 40)
HSLhsl(270, 82%, 9%)
HSVhsv(270, 90%, 16%)
CMYKcmyk(45%, 90%, 0%, 84.3%)
CIE-LABlab(3.71, 15.03, -19.19)
CIE-LCHlch(3.71, 24.38, 308.07°)
OKLaboklab(16.9% 0.0392 -0.0603)
OKLCHoklch(16.9% 0.072 303)
XYZxyz(0.7572, 0.4106, 2.0464)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160428 #162804
analogous
#040428 #160428 #280428
triadic
#160428 #281604 #042816
tetradic
#160428 #280404 #162804 #042828
square
#160428 #280404 #162804 #042828
split-complementary
#160428 #282804 #042804
monochromatic
#0F031C #0F031C #160428 #350A60 #530F97

Accessibility & contrast

On white

19.40
#160428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#160428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160428
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160428#FFFFFF#000000##FFFFFF
##1604281.0019.401.0819.40
#FFFFFF19.401.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D29
Deuteranopia (green-blind)
#000D27
Tritanopia (blue-blind)
#120C15
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #160428;
/* rgb */ color: rgb(22, 4, 40);
/* oklch */ color: oklch(16.9% 0.072 303.0);
Tailwind
colors: {
  custom: {
    50: '#534862',
    500: '#160428',
    950: '#000000',
  },
}
SCSS
$custom: #160428;
$custom-light: #534862;
$custom-dark: #000000;
JSON
{
  "hex": "#160428",
  "rgb": {
    "r": 22,
    "g": 4,
    "b": 40
  },
  "hsl": {
    "h": 270,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.16904,
    "c": 0.07191,
    "h": 303
  },
  "luminance": 0.00411
}

Semantic roles & 50–950 ramp

primary
#160428
secondary
#446B1D
accent
#F83094
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#020005
muted
#787779

Preview Lab

Preview with #160428

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

Preview Lab → · Contrast checker → · Palette generator →

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