#160229#160229

#160229 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.5% C 0.078 H 303.4°. Best body text is #FFFFFF at 19.54:1 contrast (WCAG AA passes).

Color values

HEX#160229
RGBrgb(22, 2, 41)
HSLhsl(271, 91%, 8%)
HSVhsv(271, 95%, 16%)
CMYKcmyk(46.3%, 95.1%, 0%, 83.9%)
CIE-LABlab(3.38, 16.27, -20.48)
CIE-LCHlch(3.38, 26.15, 308.47°)
OKLaboklab(16.54% 0.043 -0.0652)
OKLCHoklch(16.54% 0.078 303.4)
XYZxyz(0.7527, 0.3741, 2.1299)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160229 #152902
analogous
#020229 #160229 #290228
triadic
#160229 #291602 #022916
tetradic
#160229 #290202 #152902 #022829
square
#160229 #290202 #152902 #022829
split-complementary
#160229 #282902 #022902
monochromatic
#10011D #10011D #160229 #350563 #55089E

Accessibility & contrast

On white

19.54
#160229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#160229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160229
19.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160229#FFFFFF#000000##FFFFFF
##1602291.0019.541.0719.54
#FFFFFF19.541.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2A
Deuteranopia (green-blind)
#000C28
Tritanopia (blue-blind)
#120B14
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #160229;
/* rgb */ color: rgb(22, 2, 41);
/* oklch */ color: oklch(16.5% 0.078 303.4);
Tailwind
colors: {
  custom: {
    50: '#534763',
    500: '#160229',
    950: '#000000',
  },
}
SCSS
$custom: #160229;
$custom-light: #534763;
$custom-dark: #000000;
JSON
{
  "hex": "#160229",
  "rgb": {
    "r": 22,
    "g": 2,
    "b": 41
  },
  "hsl": {
    "h": 270.769,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.16541,
    "c": 0.07812,
    "h": 303.4
  },
  "luminance": 0.00374
}

Semantic roles & 50–950 ramp

primary
#160229
secondary
#426E19
accent
#FF2991
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#020005
muted
#787779

Preview Lab

Preview with #160229

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

Preview Lab → · Contrast checker → · Palette generator →

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