#160A40#160A40

#160A40 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.7% C 0.095 H 284.6°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#160A40
RGBrgb(22, 10, 64)
HSLhsl(253, 73%, 15%)
HSVhsv(253, 84%, 25%)
CMYKcmyk(65.6%, 84.4%, 0%, 74.9%)
CIE-LABlab(6.84, 23.05, -31.87)
CIE-LCHlch(6.84, 39.33, 305.88°)
OKLaboklab(20.67% 0.024 -0.0921)
OKLCHoklch(20.67% 0.095 284.6)
XYZxyz(1.3645, 0.7577, 4.9238)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160A40 #34400A
analogous
#0A1940 #160A40 #310A40
triadic
#160A40 #40160A #0A4016
tetradic
#160A40 #400A19 #34400A #0A4031
square
#160A40 #400A19 #34400A #0A4031
split-complementary
#160A40 #40310A #19400A
monochromatic
#09041A #09041A #160A40 #281275 #3A1BAA

Accessibility & contrast

On white

18.24
#160A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#160A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160A40
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160A40#FFFFFF#000000##FFFFFF
##160A401.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00133F
Tritanopia (blue-blind)
#021924
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #160a40;
/* rgb */ color: rgb(22, 10, 64);
/* oklch */ color: oklch(20.7% 0.095 284.6);
Tailwind
colors: {
  custom: {
    50: '#594a75',
    500: '#160a40',
    950: '#000000',
  },
}
SCSS
$custom: #160a40;
$custom-light: #594a75;
$custom-dark: #000000;
JSON
{
  "hex": "#160a40",
  "rgb": {
    "r": 22,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 253.333,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20674,
    "c": 0.09516,
    "h": 284.6
  },
  "luminance": 0.00758
}

Semantic roles & 50–950 ramp

primary
#160A40
secondary
#6A7D29
accent
#F038C7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #160A40

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

Preview Lab → · Contrast checker → · Palette generator →

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