#160F33#160F33

#160F33 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.2% C 0.068 H 287.7°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#160F33
RGBrgb(22, 15, 51)
HSLhsl(252, 55%, 13%)
HSVhsv(252, 71%, 20%)
CMYKcmyk(56.9%, 70.6%, 0%, 80%)
CIE-LABlab(6.79, 14.85, -22.55)
CIE-LCHlch(6.79, 27.00, 303.37°)
OKLaboklab(20.22% 0.0206 -0.0648)
OKLCHoklch(20.22% 0.068 287.7)
XYZxyz(1.0991, 0.7512, 3.2184)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160F33 #2C330F
analogous
#0F1A33 #160F33 #280F33
triadic
#160F33 #33160F #0F3316
tetradic
#160F33 #330F1A #2C330F #0F3328
square
#160F33 #330F1A #2C330F #0F3328
split-complementary
#160F33 #33280F #1A330F
monochromatic
#0A0718 #0A0718 #160F33 #2A1D62 #3F2B92

Accessibility & contrast

On white

18.26
#160F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#160F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160F33
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160F33#FFFFFF#000000##FFFFFF
##160F331.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#001432
Tritanopia (blue-blind)
#0C171F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #160f33;
/* rgb */ color: rgb(22, 15, 51);
/* oklch */ color: oklch(20.2% 0.068 287.7);
Tailwind
colors: {
  custom: {
    50: '#564d6b',
    500: '#160f33',
    950: '#000000',
  },
}
SCSS
$custom: #160f33;
$custom-light: #564d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#160f33",
  "rgb": {
    "r": 22,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 251.667,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20218,
    "c": 0.06799,
    "h": 287.7
  },
  "luminance": 0.00751
}

Semantic roles & 50–950 ramp

primary
#160F33
secondary
#616D31
accent
#DE4AC1
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #160F33

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

Preview Lab → · Contrast checker → · Palette generator →

#160F33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva