#160B4C#160B4C

#160B4C is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.111 H 280.2°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#160B4C
RGBrgb(22, 11, 76)
HSLhsl(250, 75%, 17%)
HSVhsv(250, 86%, 30%)
CMYKcmyk(71.1%, 85.5%, 0%, 70.2%)
CIE-LABlab(8.41, 26.94, -37.74)
CIE-LCHlch(8.41, 46.37, 305.51°)
OKLaboklab(22.24% 0.0195 -0.1089)
OKLCHoklch(22.24% 0.111 280.2)
XYZxyz(1.7546, 0.9316, 6.9234)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160B4C #414C0B
analogous
#0B214C #160B4C #370B4C
triadic
#160B4C #4C160B #0B4C16
tetradic
#160B4C #4C0B21 #414C0B #0B4C37
square
#160B4C #4C0B21 #414C0B #0B4C37
split-complementary
#160B4C #4C370B #214C0B
monochromatic
#08041B #08041B #160B4C #251381 #351AB7

Accessibility & contrast

On white

17.70
#160B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#160B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160B4C
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160B4C#FFFFFF#000000##FFFFFF
##160B4C1.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4E
Deuteranopia (green-blind)
#00164B
Tritanopia (blue-blind)
#001E2B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #160b4c;
/* rgb */ color: rgb(22, 11, 76);
/* oklch */ color: oklch(22.2% 0.111 280.2);
Tailwind
colors: {
  custom: {
    50: '#5d4c7f',
    500: '#160b4c',
    950: '#000000',
  },
}
SCSS
$custom: #160b4c;
$custom-light: #5d4c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#160b4c",
  "rgb": {
    "r": 22,
    "g": 11,
    "b": 76
  },
  "hsl": {
    "h": 250.154,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22238,
    "c": 0.11069,
    "h": 280.2
  },
  "luminance": 0.00932
}

Semantic roles & 50–950 ramp

primary
#160B4C
secondary
#78882B
accent
#F136D2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #160B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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