#160538#160538

#160538 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.091 H 290.5°. Best body text is #FFFFFF at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#160538
RGBrgb(22, 5, 56)
HSLhsl(260, 84%, 12%)
HSVhsv(260, 91%, 22%)
CMYKcmyk(60.7%, 91.1%, 0%, 78%)
CIE-LABlab(5.10, 22.11, -28.93)
CIE-LCHlch(5.10, 36.41, 307.39°)
OKLaboklab(18.9% 0.032 -0.0854)
OKLCHoklch(18.9% 0.091 290.5)
XYZxyz(1.0988, 0.5646, 3.7917)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160538 #273805
analogous
#050E38 #160538 #300538
triadic
#160538 #381605 #053816
tetradic
#160538 #38050E #273805 #053830
square
#160538 #38050E #273805 #053830
split-complementary
#160538 #383005 #0E3805
monochromatic
#0B031C #0B031C #160538 #2C0A70 #420FA8

Accessibility & contrast

On white

18.87
#160538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#160538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160538
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160538#FFFFFF#000000##FFFFFF
##1605381.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001239
Deuteranopia (green-blind)
#001037
Tritanopia (blue-blind)
#0A131E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #160538;
/* rgb */ color: rgb(22, 5, 56);
/* oklch */ color: oklch(18.9% 0.091 290.5);
Tailwind
colors: {
  custom: {
    50: '#57486f',
    500: '#160538',
    950: '#000000',
  },
}
SCSS
$custom: #160538;
$custom-light: #57486f;
$custom-dark: #000000;
JSON
{
  "hex": "#160538",
  "rgb": {
    "r": 22,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 260,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18903,
    "c": 0.09116,
    "h": 290.5
  },
  "luminance": 0.00565
}

Semantic roles & 50–950 ramp

primary
#160538
secondary
#5B7920
accent
#FA2EB6
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #160538

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

Preview Lab → · Contrast checker → · Palette generator →

#160538 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva