#180E1E#180E1E

#180E1E is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.6% C 0.035 H 312.0°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#180E1E
RGBrgb(24, 14, 30)
HSLhsl(278, 36%, 9%)
HSVhsv(278, 53%, 12%)
CMYKcmyk(20%, 53.3%, 0%, 88.2%)
CIE-LABlab(5.44, 8.02, -8.79)
CIE-LCHlch(5.44, 11.90, 312.37°)
OKLaboklab(18.57% 0.0233 -0.0259)
OKLCHoklch(18.57% 0.035 312)
XYZxyz(0.7680, 0.6020, 1.3038)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E1E #141E0E
analogous
#100E1E #180E1E #1E0E1C
triadic
#180E1E #1E180E #0E1E18
tetradic
#180E1E #1E100E #141E0E #0E1C1E
square
#180E1E #1E100E #141E0E #0E1C1E
split-complementary
#180E1E #1C1E0E #0E1E10
monochromatic
#110A15 #110A15 #180E1E #392148 #5B3571

Accessibility & contrast

On white

18.74
#180E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180E1E
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E1E#FFFFFF#000000##FFFFFF
##180E1E1.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B111F
Deuteranopia (green-blind)
#0D121E
Tritanopia (blue-blind)
#171014
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #180e1e;
/* rgb */ color: rgb(24, 14, 30);
/* oklch */ color: oklch(18.6% 0.035 312.0);
Tailwind
colors: {
  custom: {
    50: '#544d59',
    500: '#180e1e',
    950: '#000000',
  },
}
SCSS
$custom: #180e1e;
$custom-light: #544d59;
$custom-dark: #000000;
JSON
{
  "hex": "#180e1e",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 30
  },
  "hsl": {
    "h": 277.5,
    "s": 36.364,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18569,
    "c": 0.03485,
    "h": 312
  },
  "luminance": 0.00602
}

Semantic roles & 50–950 ramp

primary
#180E1E
secondary
#405533
accent
#CC5B86
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020103
muted
#787778

Preview Lab

Preview with #180E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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