#160C45#160C45

#160C45 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.100 H 282.1°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#160C45
RGBrgb(22, 12, 69)
HSLhsl(251, 70%, 16%)
HSVhsv(251, 83%, 27%)
CMYKcmyk(68.1%, 82.6%, 0%, 72.9%)
CIE-LABlab(7.80, 23.85, -33.85)
CIE-LCHlch(7.80, 41.41, 305.16°)
OKLaboklab(21.56% 0.0209 -0.0976)
OKLCHoklch(21.56% 0.1 282.1)
XYZxyz(1.5362, 0.8631, 5.7147)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C45 #3B450C
analogous
#0C1E45 #160C45 #320C45
triadic
#160C45 #45160C #0C4516
tetradic
#160C45 #450C1E #3B450C #0C4532
square
#160C45 #450C1E #3B450C #0C4532
split-complementary
#160C45 #45320C #1E450C
monochromatic
#08051A #08051A #160C45 #271579 #371EAD

Accessibility & contrast

On white

17.91
#160C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#160C45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160C45
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C45#FFFFFF#000000##FFFFFF
##160C451.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001947
Deuteranopia (green-blind)
#001544
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #160c45;
/* rgb */ color: rgb(22, 12, 69);
/* oklch */ color: oklch(21.6% 0.100 282.1);
Tailwind
colors: {
  custom: {
    50: '#5b4c79',
    500: '#160c45',
    950: '#000000',
  },
}
SCSS
$custom: #160c45;
$custom-light: #5b4c79;
$custom-dark: #000000;
JSON
{
  "hex": "#160c45",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 250.526,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2156,
    "c": 0.09982,
    "h": 282.1
  },
  "luminance": 0.00863
}

Semantic roles & 50–950 ramp

primary
#160C45
secondary
#72812C
accent
#ED3BCE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #160C45

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

Preview Lab → · Contrast checker → · Palette generator →

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