#180618#180618

#180618 is a very dark, muted purple. Relative luminance 0.004; OKLCH L 16.3% C 0.046 H 327.4°. Best body text is #FFFFFF at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#180618
RGBrgb(24, 6, 24)
HSLhsl(300, 60%, 6%)
HSVhsv(300, 75%, 9%)
CMYKcmyk(0%, 75%, 0%, 90.6%)
CIE-LABlab(3.53, 9.65, -6.90)
CIE-LCHlch(3.53, 11.86, 324.45°)
OKLaboklab(16.33% 0.039 -0.0249)
OKLCHoklch(16.33% 0.046 327.4)
XYZxyz(0.6067, 0.3904, 0.9074)
Luminance0.0039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180618 #061806
analogous
#0F0618 #180618 #18060F
triadic
#180618 #181806 #061818
tetradic
#180618 #180F06 #061806 #060F18
square
#180618 #180F06 #061806 #060F18
split-complementary
#180618 #0F1806 #06180F
monochromatic
#180618 #180618 #180618 #491249 #7A1E7A

Accessibility & contrast

On white

19.48
#180618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#180618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180618
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180618#FFFFFF#000000##FFFFFF
##1806181.0019.481.0819.48
#FFFFFF19.481.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050B19
Deuteranopia (green-blind)
#090E17
Tritanopia (blue-blind)
#19080D
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #180618;
/* rgb */ color: rgb(24, 6, 24);
/* oklch */ color: oklch(16.3% 0.046 327.4);
Tailwind
colors: {
  custom: {
    50: '#544954',
    500: '#180618',
    950: '#000000',
  },
}
SCSS
$custom: #180618;
$custom-light: #544954;
$custom-dark: #000000;
JSON
{
  "hex": "#180618",
  "rgb": {
    "r": 24,
    "g": 6,
    "b": 24
  },
  "hsl": {
    "h": 300,
    "s": 60,
    "l": 5.882
  },
  "oklch": {
    "l": 0.1633,
    "c": 0.04624,
    "h": 327.4
  },
  "luminance": 0.0039
}

Semantic roles & 50–950 ramp

primary
#180618
secondary
#235623
accent
#E34545
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020002
muted
#787778

Preview Lab

Preview with #180618

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

Preview Lab → · Contrast checker → · Palette generator →

#180618 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva