#180E1A#180E1A

#180E1A is a very dark, muted purple. Relative luminance 0.006; OKLCH L 18.3% C 0.028 H 320.7°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#180E1A
RGBrgb(24, 14, 26)
HSLhsl(290, 30%, 8%)
HSVhsv(290, 46%, 10%)
CMYKcmyk(7.7%, 46.2%, 0%, 89.8%)
CIE-LABlab(5.27, 6.81, -5.93)
CIE-LCHlch(5.27, 9.03, 318.95°)
OKLaboklab(18.32% 0.022 -0.018)
OKLCHoklch(18.32% 0.028 320.7)
XYZxyz(0.7202, 0.5829, 1.0516)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E1A #101A0E
analogous
#120E1A #180E1A #1A0E16
triadic
#180E1A #1A180E #0E1A18
tetradic
#180E1A #1A120E #101A0E #0E161A
square
#180E1A #1A120E #101A0E #0E161A
split-complementary
#180E1A #161A0E #0E1A12
monochromatic
#120B14 #120B14 #180E1A #3D2342 #61396A

Accessibility & contrast

On white

18.81
#180E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#180E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180E1A
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E1A#FFFFFF#000000##FFFFFF
##180E1A1.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D111A
Deuteranopia (green-blind)
#0F121A
Tritanopia (blue-blind)
#180F12
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #180e1a;
/* rgb */ color: rgb(24, 14, 26);
/* oklch */ color: oklch(18.3% 0.028 320.7);
Tailwind
colors: {
  custom: {
    50: '#544d56',
    500: '#180e1a',
    950: '#000000',
  },
}
SCSS
$custom: #180e1a;
$custom-light: #544d56;
$custom-dark: #000000;
JSON
{
  "hex": "#180e1a",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 26
  },
  "hsl": {
    "h": 290,
    "s": 30,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18323,
    "c": 0.02842,
    "h": 320.7
  },
  "luminance": 0.00583
}

Semantic roles & 50–950 ramp

primary
#180E1A
secondary
#395034
accent
#C66272
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020103
muted
#787778

Preview Lab

Preview with #180E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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