#160D41#160D41

#160D41 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.093 H 283.1°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#160D41
RGBrgb(22, 13, 65)
HSLhsl(250, 67%, 15%)
HSVhsv(250, 80%, 25%)
CMYKcmyk(66.2%, 80%, 0%, 74.5%)
CIE-LABlab(7.59, 21.72, -31.36)
CIE-LCHlch(7.59, 38.15, 304.71°)
OKLaboklab(21.27% 0.021 -0.0904)
OKLCHoklch(21.27% 0.093 283.1)
XYZxyz(1.4286, 0.8400, 5.0869)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160D41 #38410D
analogous
#0D1E41 #160D41 #300D41
triadic
#160D41 #41160D #0D4116
tetradic
#160D41 #410D1E #38410D #0D4130
square
#160D41 #410D1E #38410D #0D4130
split-complementary
#160D41 #41300D #1E410D
monochromatic
#09051A #09051A #160D41 #271774 #3921A7

Accessibility & contrast

On white

17.98
#160D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#160D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160D41
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160D41#FFFFFF#000000##FFFFFF
##160D411.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#011B25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #160d41;
/* rgb */ color: rgb(22, 13, 65);
/* oklch */ color: oklch(21.3% 0.093 283.1);
Tailwind
colors: {
  custom: {
    50: '#594c76',
    500: '#160d41',
    950: '#000000',
  },
}
SCSS
$custom: #160d41;
$custom-light: #594c76;
$custom-dark: #000000;
JSON
{
  "hex": "#160d41",
  "rgb": {
    "r": 22,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 250.385,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21272,
    "c": 0.09277,
    "h": 283.1
  },
  "luminance": 0.0084
}

Semantic roles & 50–950 ramp

primary
#160D41
secondary
#6F7D2D
accent
#EA3ECC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #160D41

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

Preview Lab → · Contrast checker → · Palette generator →

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