#18101C#18101C

#18101C is a very dark, muted purple. Relative luminance 0.006; OKLCH L 18.9% C 0.027 H 314.1°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#18101C
RGBrgb(24, 16, 28)
HSLhsl(280, 27%, 9%)
HSVhsv(280, 43%, 11%)
CMYKcmyk(14.3%, 42.9%, 0%, 89%)
CIE-LABlab(5.86, 6.35, -6.61)
CIE-LCHlch(5.86, 9.16, 313.86°)
OKLaboklab(18.93% 0.0186 -0.0191)
OKLCHoklch(18.93% 0.027 314.1)
XYZxyz(0.7715, 0.6486, 1.1829)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18101C #141C10
analogous
#12101C #18101C #1C101A
triadic
#18101C #1C1810 #101C18
tetradic
#18101C #1C1210 #141C10 #101A1C
square
#18101C #1C1210 #141C10 #101A1C
split-complementary
#18101C #1A1C10 #101C12
monochromatic
#110B13 #110B13 #18101C #392643 #5B3D6A

Accessibility & contrast

On white

18.59
#18101C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#18101C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18101C
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18101C#FFFFFF#000000##FFFFFF
##18101C1.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E121C
Deuteranopia (green-blind)
#10131C
Tritanopia (blue-blind)
#181114
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #18101c;
/* rgb */ color: rgb(24, 16, 28);
/* oklch */ color: oklch(18.9% 0.027 314.1);
Tailwind
colors: {
  custom: {
    50: '#544e58',
    500: '#18101c',
    950: '#000000',
  },
}
SCSS
$custom: #18101c;
$custom-light: #544e58;
$custom-dark: #000000;
JSON
{
  "hex": "#18101c",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 28
  },
  "hsl": {
    "h": 280,
    "s": 27.273,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18935,
    "c": 0.02665,
    "h": 314.1
  },
  "luminance": 0.00649
}

Semantic roles & 50–950 ramp

primary
#18101C
secondary
#405137
accent
#C46484
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020103
muted
#787778

Preview Lab

Preview with #18101C

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

Preview Lab → · Contrast checker → · Palette generator →

#18101C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva