#160227#160227

#160227 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.3% C 0.076 H 305.3°. Best body text is #FFFFFF at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#160227
RGBrgb(22, 2, 39)
HSLhsl(272, 90%, 8%)
HSVhsv(272, 95%, 15%)
CMYKcmyk(43.6%, 94.9%, 0%, 84.7%)
CIE-LABlab(3.26, 15.40, -19.13)
CIE-LCHlch(3.26, 24.56, 308.84°)
OKLaboklab(16.32% 0.0438 -0.0618)
OKLCHoklch(16.32% 0.076 305.3)
XYZxyz(0.7187, 0.3605, 1.9508)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160227 #132702
analogous
#030227 #160227 #270225
triadic
#160227 #271602 #022716
tetradic
#160227 #270302 #132702 #022527
square
#160227 #270302 #132702 #022527
split-complementary
#160227 #252702 #022703
monochromatic
#10011D #10011D #160227 #370561 #58089B

Accessibility & contrast

On white

19.59
#160227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160227
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160227#FFFFFF#000000##FFFFFF
##1602271.0019.591.0719.59
#FFFFFF19.591.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B28
Deuteranopia (green-blind)
#000C26
Tritanopia (blue-blind)
#130A13
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #160227;
/* rgb */ color: rgb(22, 2, 39);
/* oklch */ color: oklch(16.3% 0.076 305.3);
Tailwind
colors: {
  custom: {
    50: '#534761',
    500: '#160227',
    950: '#000000',
  },
}
SCSS
$custom: #160227;
$custom-light: #534761;
$custom-dark: #000000;
JSON
{
  "hex": "#160227",
  "rgb": {
    "r": 22,
    "g": 2,
    "b": 39
  },
  "hsl": {
    "h": 272.432,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.1632,
    "c": 0.07573,
    "h": 305.3
  },
  "luminance": 0.0036
}

Semantic roles & 50–950 ramp

primary
#160227
secondary
#3F6C18
accent
#FF298B
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020005
muted
#787779

Preview Lab

Preview with #160227

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

Preview Lab → · Contrast checker → · Palette generator →

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