#160C47#160C47

#160C47 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.103 H 281.4°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#160C47
RGBrgb(22, 12, 71)
HSLhsl(250, 71%, 16%)
HSVhsv(250, 83%, 28%)
CMYKcmyk(69%, 83.1%, 0%, 72.2%)
CIE-LABlab(8.02, 24.57, -34.89)
CIE-LCHlch(8.02, 42.67, 305.16°)
OKLaboklab(21.79% 0.0203 -0.1006)
OKLCHoklch(21.79% 0.103 281.4)
XYZxyz(1.5993, 0.8883, 6.0472)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160C47 #3D470C
analogous
#0C2047 #160C47 #340C47
triadic
#160C47 #47160C #0C4716
tetradic
#160C47 #470C20 #3D470C #0C4734
square
#160C47 #470C20 #3D470C #0C4734
split-complementary
#160C47 #47340C #20470C
monochromatic
#08041A #08041A #160C47 #26157B #361EB0

Accessibility & contrast

On white

17.83
#160C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160C47
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160C47#FFFFFF#000000##FFFFFF
##160C471.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #160c47;
/* rgb */ color: rgb(22, 12, 71);
/* oklch */ color: oklch(21.8% 0.103 281.4);
Tailwind
colors: {
  custom: {
    50: '#5b4c7b',
    500: '#160c47',
    950: '#000000',
  },
}
SCSS
$custom: #160c47;
$custom-light: #5b4c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#160c47",
  "rgb": {
    "r": 22,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 250.169,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21791,
    "c": 0.10265,
    "h": 281.4
  },
  "luminance": 0.00888
}

Semantic roles & 50–950 ramp

primary
#160C47
secondary
#74832C
accent
#EE3ACF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #160C47

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

Preview Lab → · Contrast checker → · Palette generator →

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