#160B38#160B38

#160B38 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.082 H 287.7°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#160B38
RGBrgb(22, 11, 56)
HSLhsl(255, 67%, 13%)
HSVhsv(255, 80%, 22%)
CMYKcmyk(60.7%, 80.4%, 0%, 78%)
CIE-LABlab(6.28, 19.21, -27.02)
CIE-LCHlch(6.28, 33.15, 305.41°)
OKLaboklab(19.95% 0.025 -0.0783)
OKLCHoklch(19.95% 0.082 287.7)
XYZxyz(1.1641, 0.6954, 3.8135)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160B38 #2D380B
analogous
#0B1638 #160B38 #2C0B38
triadic
#160B38 #38160B #0B3816
tetradic
#160B38 #380B16 #2D380B #0B382C
square
#160B38 #380B16 #2D380B #0B382C
split-complementary
#160B38 #382C0B #16380B
monochromatic
#0A051A #0A051A #160B38 #2A156B #3E1F9E

Accessibility & contrast

On white

18.44
#160B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#160B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160B38
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160B38#FFFFFF#000000##FFFFFF
##160B381.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001539
Deuteranopia (green-blind)
#001337
Tritanopia (blue-blind)
#091720
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #160b38;
/* rgb */ color: rgb(22, 11, 56);
/* oklch */ color: oklch(20.0% 0.082 287.7);
Tailwind
colors: {
  custom: {
    50: '#574b6f',
    500: '#160b38',
    950: '#000000',
  },
}
SCSS
$custom: #160b38;
$custom-light: #574b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#160b38",
  "rgb": {
    "r": 22,
    "g": 11,
    "b": 56
  },
  "hsl": {
    "h": 254.667,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.1995,
    "c": 0.0822,
    "h": 287.7
  },
  "luminance": 0.00695
}

Semantic roles & 50–950 ramp

primary
#160B38
secondary
#62752A
accent
#EA3EC0
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #160B38

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

Preview Lab → · Contrast checker → · Palette generator →

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