#160740#160740

#160740 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.099 H 285.7°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#160740
RGBrgb(22, 7, 64)
HSLhsl(256, 80%, 14%)
HSVhsv(256, 89%, 25%)
CMYKcmyk(65.6%, 89.1%, 0%, 74.9%)
CIE-LABlab(6.26, 24.62, -32.83)
CIE-LCHlch(6.26, 41.03, 306.86°)
OKLaboklab(20.2% 0.0267 -0.0953)
OKLCHoklch(20.2% 0.099 285.7)
XYZxyz(1.3320, 0.6926, 4.9130)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160740 #314007
analogous
#071540 #160740 #330740
triadic
#160740 #401607 #074016
tetradic
#160740 #400715 #314007 #074033
square
#160740 #400715 #314007 #074033
split-complementary
#160740 #403307 #154007
monochromatic
#09031C #09031C #160740 #290D77 #3C13AE

Accessibility & contrast

On white

18.44
#160740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#160740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##160740#FFFFFF#000000##FFFFFF
##1607401.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)
#001542
Deuteranopia (green-blind)
#00123F
Tritanopia (blue-blind)
#021823
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #160740;
/* rgb */ color: rgb(22, 7, 64);
/* oklch */ color: oklch(20.2% 0.099 285.7);
Tailwind
colors: {
  custom: {
    50: '#5a4975',
    500: '#160740',
    950: '#000000',
  },
}
SCSS
$custom: #160740;
$custom-light: #5a4975;
$custom-dark: #000000;
JSON
{
  "hex": "#160740",
  "rgb": {
    "r": 22,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 255.789,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20203,
    "c": 0.09897,
    "h": 285.7
  },
  "luminance": 0.00693
}

Semantic roles & 50–950 ramp

primary
#160740
secondary
#677F24
accent
#F731C3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #160740

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

Preview Lab → · Contrast checker → · Palette generator →

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