#160843#160843

#160843 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.7% C 0.102 H 284.1°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#160843
RGBrgb(22, 8, 67)
HSLhsl(254, 79%, 15%)
HSVhsv(254, 88%, 26%)
CMYKcmyk(67.2%, 88.1%, 0%, 73.7%)
CIE-LABlab(6.77, 25.31, -34.13)
CIE-LCHlch(6.77, 42.48, 306.56°)
OKLaboklab(20.72% 0.0248 -0.0987)
OKLCHoklch(20.72% 0.102 284.1)
XYZxyz(1.4305, 0.7494, 5.3784)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#160843 #354308
analogous
#081843 #160843 #340843
triadic
#160843 #431608 #084316
tetradic
#160843 #430818 #354308 #084334
square
#160843 #430818 #354308 #084334
split-complementary
#160843 #433408 #184308
monochromatic
#09031B #09031B #160843 #280F7A #3A15B0

Accessibility & contrast

On white

18.26
#160843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#160843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #160843
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##160843#FFFFFF#000000##FFFFFF
##1608431.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001745
Deuteranopia (green-blind)
#001342
Tritanopia (blue-blind)
#001925
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #160843;
/* rgb */ color: rgb(22, 8, 67);
/* oklch */ color: oklch(20.7% 0.102 284.1);
Tailwind
colors: {
  custom: {
    50: '#5a4978',
    500: '#160843',
    950: '#000000',
  },
}
SCSS
$custom: #160843;
$custom-light: #5a4978;
$custom-dark: #000000;
JSON
{
  "hex": "#160843",
  "rgb": {
    "r": 22,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 254.237,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20721,
    "c": 0.10177,
    "h": 284.1
  },
  "luminance": 0.00749
}

Semantic roles & 50–950 ramp

primary
#160843
secondary
#6C8125
accent
#F533C7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #160843

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

Preview Lab → · Contrast checker → · Palette generator →

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