#160628#160628

#160628 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.4% C 0.067 H 301.7°. Best body text is #FFFFFF at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#160628
RGBrgb(22, 6, 40)
HSLhsl(268, 74%, 9%)
HSVhsv(268, 85%, 16%)
CMYKcmyk(45%, 85%, 0%, 84.3%)
CIE-LABlab(4.10, 14.23, -18.58)
CIE-LCHlch(4.10, 23.40, 307.45°)
OKLaboklab(17.35% 0.0354 -0.0573)
OKLCHoklch(17.35% 0.067 301.7)
XYZxyz(0.7789, 0.4540, 2.0537)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160628 #182806
analogous
#060728 #160628 #270628
triadic
#160628 #281606 #062816
tetradic
#160628 #280607 #182806 #062827
square
#160628 #280607 #182806 #062827
split-complementary
#160628 #282706 #072806
monochromatic
#0F041B #0F041B #160628 #330E5D #511692

Accessibility & contrast

On white

19.25
#160628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#160628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160628
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160628#FFFFFF#000000##FFFFFF
##1606281.0019.251.0919.25
#FFFFFF19.251.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E29
Deuteranopia (green-blind)
#000E27
Tritanopia (blue-blind)
#120D15
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #160628;
/* rgb */ color: rgb(22, 6, 40);
/* oklch */ color: oklch(17.4% 0.067 301.7);
Tailwind
colors: {
  custom: {
    50: '#534962',
    500: '#160628',
    950: '#000000',
  },
}
SCSS
$custom: #160628;
$custom-light: #534962;
$custom-dark: #000000;
JSON
{
  "hex": "#160628",
  "rgb": {
    "r": 22,
    "g": 6,
    "b": 40
  },
  "hsl": {
    "h": 268.235,
    "s": 73.913,
    "l": 9.02
  },
  "oklch": {
    "l": 0.17353,
    "c": 0.06732,
    "h": 301.7
  },
  "luminance": 0.00454
}

Semantic roles & 50–950 ramp

primary
#160628
secondary
#476921
accent
#F13799
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#020005
muted
#787779

Preview Lab

Preview with #160628

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

Preview Lab → · Contrast checker → · Palette generator →

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