#160332#160332

#160332 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.8% C 0.087 H 295.4°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#160332
RGBrgb(22, 3, 50)
HSLhsl(264, 89%, 10%)
HSVhsv(264, 94%, 20%)
CMYKcmyk(56%, 94%, 0%, 80.4%)
CIE-LABlab(4.21, 20.18, -25.95)
CIE-LCHlch(4.21, 32.87, 307.87°)
OKLaboklab(17.8% 0.0373 -0.0786)
OKLCHoklch(17.8% 0.087 295.4)
XYZxyz(0.9390, 0.4660, 3.0575)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160332 #1F3203
analogous
#030832 #160332 #2D0332
triadic
#160332 #321603 #033216
tetradic
#160332 #320308 #1F3203 #03322D
square
#160332 #320308 #1F3203 #03322D
split-complementary
#160332 #322D03 #083203
monochromatic
#0D021D #0D021D #160332 #2F066C #490AA5

Accessibility & contrast

On white

19.21
#160332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160332
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160332#FFFFFF#000000##FFFFFF
##1603321.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F33
Deuteranopia (green-blind)
#000E31
Tritanopia (blue-blind)
#0E0F1A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #160332;
/* rgb */ color: rgb(22, 3, 50);
/* oklch */ color: oklch(17.8% 0.087 295.4);
Tailwind
colors: {
  custom: {
    50: '#56476a',
    500: '#160332',
    950: '#000000',
  },
}
SCSS
$custom: #160332;
$custom-light: #56476a;
$custom-dark: #000000;
JSON
{
  "hex": "#160332",
  "rgb": {
    "r": 22,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 264.255,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17802,
    "c": 0.08695,
    "h": 295.4
  },
  "luminance": 0.00466
}

Semantic roles & 50–950 ramp

primary
#160332
secondary
#51751B
accent
#FF29A8
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #160332

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

Preview Lab → · Contrast checker → · Palette generator →

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