#180816#180816

#180816 is a very dark, muted purple. Relative luminance 0.004; OKLCH L 16.7% C 0.038 H 331.9°. Best body text is #FFFFFF at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#180816
RGBrgb(24, 8, 22)
HSLhsl(308, 50%, 6%)
HSVhsv(308, 67%, 9%)
CMYKcmyk(0%, 66.7%, 8.3%, 90.6%)
CIE-LABlab(3.85, 8.34, -4.94)
CIE-LCHlch(3.85, 9.69, 329.36°)
OKLaboklab(16.69% 0.0336 -0.0179)
OKLCHoklch(16.69% 0.038 331.9)
XYZxyz(0.6083, 0.4258, 0.8090)
Luminance0.0043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180816 #08180A
analogous
#120818 #180816 #18080E
triadic
#180816 #161808 #081618
tetradic
#180816 #181208 #08180A #080E18
square
#180816 #181208 #08180A #080E18
split-complementary
#180816 #0E1808 #081812
monochromatic
#170815 #170815 #180816 #461740 #74276A

Accessibility & contrast

On white

19.35
#180816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#180816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180816
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180816#FFFFFF#000000##FFFFFF
##1808161.0019.351.0919.35
#FFFFFF19.351.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080C16
Deuteranopia (green-blind)
#0C0E16
Tritanopia (blue-blind)
#19090D
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #180816;
/* rgb */ color: rgb(24, 8, 22);
/* oklch */ color: oklch(16.7% 0.038 331.9);
Tailwind
colors: {
  custom: {
    50: '#544a52',
    500: '#180816',
    950: '#000000',
  },
}
SCSS
$custom: #180816;
$custom-light: #544a52;
$custom-dark: #000000;
JSON
{
  "hex": "#180816",
  "rgb": {
    "r": 24,
    "g": 8,
    "b": 22
  },
  "hsl": {
    "h": 307.5,
    "s": 50,
    "l": 6.275
  },
  "oklch": {
    "l": 0.16688,
    "c": 0.03806,
    "h": 331.9
  },
  "luminance": 0.00426
}

Semantic roles & 50–950 ramp

primary
#180816
secondary
#28542E
accent
#DA604E
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#020102
muted
#787778

Preview Lab

Preview with #180816

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

Preview Lab → · Contrast checker → · Palette generator →

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