#180C19#180C19

#180C19 is a very dark, muted purple. Relative luminance 0.005; OKLCH L 17.8% C 0.032 H 324.1°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#180C19
RGBrgb(24, 12, 25)
HSLhsl(295, 35%, 7%)
HSVhsv(295, 52%, 10%)
CMYKcmyk(4%, 52%, 0%, 90.2%)
CIE-LABlab(4.76, 7.47, -5.88)
CIE-LCHlch(4.76, 9.51, 321.81°)
OKLaboklab(17.79% 0.0259 -0.0187)
OKLCHoklch(17.79% 0.032 324.1)
XYZxyz(0.6836, 0.5273, 0.9853)
Luminance0.0053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180C19 #0D190C
analogous
#120C19 #180C19 #190C14
triadic
#180C19 #19180C #0C1918
tetradic
#180C19 #19120C #0D190C #0C1419
square
#180C19 #19120C #0D190C #0C1419
split-complementary
#180C19 #14190C #0C1912
monochromatic
#140A15 #140A15 #180C19 #402042 #67346C

Accessibility & contrast

On white

19.00
#180C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#180C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180C19
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180C19#FFFFFF#000000##FFFFFF
##180C191.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0F19
Deuteranopia (green-blind)
#0E1119
Tritanopia (blue-blind)
#190D11
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #180c19;
/* rgb */ color: rgb(24, 12, 25);
/* oklch */ color: oklch(17.8% 0.032 324.1);
Tailwind
colors: {
  custom: {
    50: '#544c55',
    500: '#180c19',
    950: '#000000',
  },
}
SCSS
$custom: #180c19;
$custom-light: #544c55;
$custom-dark: #000000;
JSON
{
  "hex": "#180c19",
  "rgb": {
    "r": 24,
    "g": 12,
    "b": 25
  },
  "hsl": {
    "h": 295.385,
    "s": 35.135,
    "l": 7.255
  },
  "oklch": {
    "l": 0.17786,
    "c": 0.03193,
    "h": 324.1
  },
  "luminance": 0.00527
}

Semantic roles & 50–950 ramp

primary
#180C19
secondary
#335031
accent
#CB5D65
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#020103
muted
#787778

Preview Lab

Preview with #180C19

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

Preview Lab → · Contrast checker → · Palette generator →

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