#160B39#160B39

#160B39 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.084 H 287.3°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#160B39
RGBrgb(22, 11, 57)
HSLhsl(254, 68%, 13%)
HSVhsv(254, 81%, 22%)
CMYKcmyk(61.4%, 80.7%, 0%, 77.6%)
CIE-LABlab(6.37, 19.64, -27.60)
CIE-LCHlch(6.37, 33.87, 305.43°)
OKLaboklab(20.06% 0.0248 -0.0799)
OKLCHoklch(20.06% 0.084 287.3)
XYZxyz(1.1888, 0.7053, 3.9436)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160B39 #2E390B
analogous
#0B1739 #160B39 #2D0B39
triadic
#160B39 #39160B #0B3916
tetradic
#160B39 #390B17 #2E390B #0B392D
square
#160B39 #390B17 #2E390B #0B392D
split-complementary
#160B39 #392D0B #17390B
monochromatic
#0A051A #0A051A #160B39 #2A156C #3E1FA0

Accessibility & contrast

On white

18.40
#160B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160B39
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160B39#FFFFFF#000000##FFFFFF
##160B391.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153A
Deuteranopia (green-blind)
#001338
Tritanopia (blue-blind)
#081720
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #160b39;
/* rgb */ color: rgb(22, 11, 57);
/* oklch */ color: oklch(20.1% 0.084 287.3);
Tailwind
colors: {
  custom: {
    50: '#584b70',
    500: '#160b39',
    950: '#000000',
  },
}
SCSS
$custom: #160b39;
$custom-light: #584b70;
$custom-dark: #000000;
JSON
{
  "hex": "#160b39",
  "rgb": {
    "r": 22,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 254.348,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20057,
    "c": 0.08369,
    "h": 287.3
  },
  "luminance": 0.00705
}

Semantic roles & 50–950 ramp

primary
#160B39
secondary
#64762A
accent
#EB3DC1
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #160B39

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

Preview Lab → · Contrast checker → · Palette generator →

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