#160D33#160D33

#160D33 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.071 H 289.1°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#160D33
RGBrgb(22, 13, 51)
HSLhsl(254, 59%, 13%)
HSVhsv(254, 75%, 20%)
CMYKcmyk(56.9%, 74.5%, 0%, 80%)
CIE-LABlab(6.30, 16.02, -23.33)
CIE-LCHlch(6.30, 28.30, 304.47°)
OKLaboklab(19.81% 0.0234 -0.0674)
OKLCHoklch(19.81% 0.071 289.1)
XYZxyz(1.0722, 0.6974, 3.2094)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160D33 #2A330D
analogous
#0D1733 #160D33 #290D33
triadic
#160D33 #33160D #0D3316
tetradic
#160D33 #330D17 #2A330D #0D3329
square
#160D33 #330D17 #2A330D #0D3329
split-complementary
#160D33 #33290D #17330D
monochromatic
#0B0618 #0B0618 #160D33 #2B1964 #402695

Accessibility & contrast

On white

18.43
#160D33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #160D33
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160D33#FFFFFF#000000##FFFFFF
##160D331.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#001332
Tritanopia (blue-blind)
#0C161E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #160d33;
/* rgb */ color: rgb(22, 13, 51);
/* oklch */ color: oklch(19.8% 0.071 289.1);
Tailwind
colors: {
  custom: {
    50: '#564c6b',
    500: '#160d33',
    950: '#000000',
  },
}
SCSS
$custom: #160d33;
$custom-light: #564c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#160d33",
  "rgb": {
    "r": 22,
    "g": 13,
    "b": 51
  },
  "hsl": {
    "h": 254.211,
    "s": 59.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19812,
    "c": 0.07138,
    "h": 289.1
  },
  "luminance": 0.00697
}

Semantic roles & 50–950 ramp

primary
#160D33
secondary
#5F6E2E
accent
#E345BD
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #160D33

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

Preview Lab → · Contrast checker → · Palette generator →

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