#18061E#18061E

#18061E is a very dark, muted purple. Relative luminance 0.004; OKLCH L 16.8% C 0.054 H 317.1°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#18061E
RGBrgb(24, 6, 30)
HSLhsl(285, 67%, 7%)
HSVhsv(285, 80%, 12%)
CMYKcmyk(20%, 80%, 0%, 88.2%)
CIE-LABlab(3.78, 11.41, -11.29)
CIE-LCHlch(3.78, 16.06, 315.30°)
OKLaboklab(16.78% 0.0397 -0.0368)
OKLCHoklch(16.78% 0.054 317.1)
XYZxyz(0.6761, 0.4182, 1.2731)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18061E #0C1E06
analogous
#0C061E #18061E #1E0618
triadic
#18061E #1E1806 #061E18
tetradic
#18061E #1E0C06 #0C1E06 #06181E
square
#18061E #1E0C06 #0C1E06 #06181E
split-complementary
#18061E #181E06 #061E0C
monochromatic
#14051A #14051A #18061E #411051 #6A1A84

Accessibility & contrast

On white

19.38
#18061E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#18061E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18061E
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18061E#FFFFFF#000000##FFFFFF
##18061E1.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020C1F
Deuteranopia (green-blind)
#060E1D
Tritanopia (blue-blind)
#180A10
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #18061e;
/* rgb */ color: rgb(24, 6, 30);
/* oklch */ color: oklch(16.8% 0.054 317.1);
Tailwind
colors: {
  custom: {
    50: '#544959',
    500: '#18061e',
    950: '#000000',
  },
}
SCSS
$custom: #18061e;
$custom-light: #544959;
$custom-dark: #000000;
JSON
{
  "hex": "#18061e",
  "rgb": {
    "r": 24,
    "g": 6,
    "b": 30
  },
  "hsl": {
    "h": 285,
    "s": 66.667,
    "l": 7.059
  },
  "oklch": {
    "l": 0.16778,
    "c": 0.05412,
    "h": 317.1
  },
  "luminance": 0.00418
}

Semantic roles & 50–950 ramp

primary
#18061E
secondary
#315E22
accent
#EA3E69
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020003
muted
#787778

Preview Lab

Preview with #18061E

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

Preview Lab → · Contrast checker → · Palette generator →

#18061E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva