#180818#180818

#180818 is a very dark, muted purple. Relative luminance 0.004; OKLCH L 16.8% C 0.041 H 327.2°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#180818
RGBrgb(24, 8, 24)
HSLhsl(300, 50%, 6%)
HSVhsv(300, 67%, 9%)
CMYKcmyk(0%, 66.7%, 0%, 90.6%)
CIE-LABlab(3.92, 8.85, -6.33)
CIE-LCHlch(3.92, 10.88, 324.45°)
OKLaboklab(16.81% 0.0341 -0.022)
OKLCHoklch(16.81% 0.041 327.2)
XYZxyz(0.6284, 0.4338, 0.9146)
Luminance0.0043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180818 #081808
analogous
#100818 #180818 #180810
triadic
#180818 #181808 #081818
tetradic
#180818 #181008 #081808 #081018
square
#180818 #181008 #081808 #081018
split-complementary
#180818 #101808 #081810
monochromatic
#170817 #170817 #180818 #461746 #742774

Accessibility & contrast

On white

19.32
#180818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180818
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180818#FFFFFF#000000##FFFFFF
##1808181.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070D19
Deuteranopia (green-blind)
#0B0F17
Tritanopia (blue-blind)
#190A0E
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #180818;
/* rgb */ color: rgb(24, 8, 24);
/* oklch */ color: oklch(16.8% 0.041 327.2);
Tailwind
colors: {
  custom: {
    50: '#544a54',
    500: '#180818',
    950: '#000000',
  },
}
SCSS
$custom: #180818;
$custom-light: #544a54;
$custom-dark: #000000;
JSON
{
  "hex": "#180818",
  "rgb": {
    "r": 24,
    "g": 8,
    "b": 24
  },
  "hsl": {
    "h": 300,
    "s": 50,
    "l": 6.275
  },
  "oklch": {
    "l": 0.16814,
    "c": 0.04061,
    "h": 327.2
  },
  "luminance": 0.00434
}

Semantic roles & 50–950 ramp

primary
#180818
secondary
#285428
accent
#DA4E4E
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#020102
muted
#787778

Preview Lab

Preview with #180818

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

Preview Lab → · Contrast checker → · Palette generator →

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