#180A18#180A18

#180A18 is a very dark, muted purple. Relative luminance 0.005; OKLCH L 17.3% C 0.035 H 327.0°. Best body text is #FFFFFF at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#180A18
RGBrgb(24, 10, 24)
HSLhsl(300, 41%, 7%)
HSVhsv(300, 58%, 9%)
CMYKcmyk(0%, 58.3%, 0%, 90.6%)
CIE-LABlab(4.31, 8.05, -5.75)
CIE-LCHlch(4.31, 9.90, 324.44°)
OKLaboklab(17.27% 0.0297 -0.0193)
OKLCHoklch(17.27% 0.035 327)
XYZxyz(0.6501, 0.4772, 0.9219)
Luminance0.0048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A18 #0A180A
analogous
#110A18 #180A18 #180A11
triadic
#180A18 #18180A #0A1818
tetradic
#180A18 #18110A #0A180A #0A1118
square
#180A18 #18110A #0A180A #0A1118
split-complementary
#180A18 #11180A #0A1811
monochromatic
#160916 #160916 #180A18 #431C43 #6E2E6E

Accessibility & contrast

On white

19.17
#180A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#180A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180A18
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A18#FFFFFF#000000##FFFFFF
##180A181.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090E19
Deuteranopia (green-blind)
#0D1018
Tritanopia (blue-blind)
#190B0F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #180a18;
/* rgb */ color: rgb(24, 10, 24);
/* oklch */ color: oklch(17.3% 0.035 327.0);
Tailwind
colors: {
  custom: {
    50: '#544b54',
    500: '#180a18',
    950: '#000000',
  },
}
SCSS
$custom: #180a18;
$custom-light: #544b54;
$custom-dark: #000000;
JSON
{
  "hex": "#180a18",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 24
  },
  "hsl": {
    "h": 300,
    "s": 41.176,
    "l": 6.667
  },
  "oklch": {
    "l": 0.1727,
    "c": 0.03547,
    "h": 327
  },
  "luminance": 0.00477
}

Semantic roles & 50–950 ramp

primary
#180A18
secondary
#2D512D
accent
#D15757
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#020102
muted
#787778

Preview Lab

Preview with #180A18

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

Preview Lab → · Contrast checker → · Palette generator →

#180A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva