#160738#160738

#160738 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.088 H 289.6°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#160738
RGBrgb(22, 7, 56)
HSLhsl(258, 78%, 12%)
HSVhsv(258, 88%, 22%)
CMYKcmyk(60.7%, 87.5%, 0%, 78%)
CIE-LABlab(5.49, 21.16, -28.30)
CIE-LCHlch(5.49, 35.33, 306.79°)
OKLaboklab(19.26% 0.0295 -0.0829)
OKLCHoklch(19.26% 0.088 289.6)
XYZxyz(1.1205, 0.6080, 3.7989)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160738 #293807
analogous
#071138 #160738 #2E0738
triadic
#160738 #381607 #073816
tetradic
#160738 #380711 #293807 #07382E
square
#160738 #380711 #293807 #07382E
split-complementary
#160738 #382E07 #113807
monochromatic
#0B031B #0B031B #160738 #2B0E6E #4115A5

Accessibility & contrast

On white

18.72
#160738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#160738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160738
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160738#FFFFFF#000000##FFFFFF
##1607381.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#001137
Tritanopia (blue-blind)
#09141F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #160738;
/* rgb */ color: rgb(22, 7, 56);
/* oklch */ color: oklch(19.3% 0.088 289.6);
Tailwind
colors: {
  custom: {
    50: '#57496f',
    500: '#160738',
    950: '#000000',
  },
}
SCSS
$custom: #160738;
$custom-light: #57496f;
$custom-dark: #000000;
JSON
{
  "hex": "#160738",
  "rgb": {
    "r": 22,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 258.367,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19264,
    "c": 0.08802,
    "h": 289.6
  },
  "luminance": 0.00608
}

Semantic roles & 50–950 ramp

primary
#160738
secondary
#5E7823
accent
#F434B9
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #160738

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

Preview Lab → · Contrast checker → · Palette generator →

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