#160C46#160C46

#160C46 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.101 H 281.7°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#160C46
RGBrgb(22, 12, 70)
HSLhsl(250, 71%, 16%)
HSVhsv(250, 83%, 27%)
CMYKcmyk(68.6%, 82.9%, 0%, 72.5%)
CIE-LABlab(7.91, 24.21, -34.37)
CIE-LCHlch(7.91, 42.04, 305.16°)
OKLaboklab(21.68% 0.0206 -0.0991)
OKLCHoklch(21.68% 0.101 281.7)
XYZxyz(1.5675, 0.8756, 5.8796)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C46 #3C460C
analogous
#0C1F46 #160C46 #330C46
triadic
#160C46 #46160C #0C4616
tetradic
#160C46 #460C1F #3C460C #0C4633
square
#160C46 #460C1F #3C460C #0C4633
split-complementary
#160C46 #46330C #1F460C
monochromatic
#08041A #08041A #160C46 #26157A #371EAE

Accessibility & contrast

On white

17.87
#160C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#160C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160C46
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C46#FFFFFF#000000##FFFFFF
##160C461.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001545
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #160c46;
/* rgb */ color: rgb(22, 12, 70);
/* oklch */ color: oklch(21.7% 0.101 281.7);
Tailwind
colors: {
  custom: {
    50: '#5b4c7a',
    500: '#160c46',
    950: '#000000',
  },
}
SCSS
$custom: #160c46;
$custom-light: #5b4c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#160c46",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 250.345,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21675,
    "c": 0.10124,
    "h": 281.7
  },
  "luminance": 0.00876
}

Semantic roles & 50–950 ramp

primary
#160C46
secondary
#73822C
accent
#ED3ACF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #160C46

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

Preview Lab → · Contrast checker → · Palette generator →

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