#180824#180824

#180824 is a very dark, muted violet. Relative luminance 0.005; OKLCH L 17.7% C 0.058 H 308.0°. Best body text is #FFFFFF at 19.11:1 contrast (WCAG AA passes).

Color values

HEX#180824
RGBrgb(24, 8, 36)
HSLhsl(274, 64%, 9%)
HSVhsv(274, 78%, 14%)
CMYKcmyk(33.3%, 77.8%, 0%, 85.9%)
CIE-LABlab(4.47, 12.75, -14.91)
CIE-LCHlch(4.47, 19.62, 310.52°)
OKLaboklab(17.72% 0.0356 -0.0455)
OKLCHoklch(17.72% 0.058 308)
XYZxyz(0.7819, 0.4952, 1.7231)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180824 #142408
analogous
#0A0824 #180824 #240822
triadic
#180824 #241808 #082418
tetradic
#180824 #240A08 #142408 #082224
square
#180824 #240A08 #142408 #082224
split-complementary
#180824 #222408 #08240A
monochromatic
#110619 #110619 #180824 #391356 #5B1E88

Accessibility & contrast

On white

19.11
#180824 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#180824 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180824
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180824#FFFFFF#000000##FFFFFF
##1808241.0019.111.1019.11
#FFFFFF19.111.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010F25
Deuteranopia (green-blind)
#051023
Tritanopia (blue-blind)
#160D14
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #180824;
/* rgb */ color: rgb(24, 8, 36);
/* oklch */ color: oklch(17.7% 0.058 308.0);
Tailwind
colors: {
  custom: {
    50: '#544a5e',
    500: '#180824',
    950: '#000000',
  },
}
SCSS
$custom: #180824;
$custom-light: #544a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#180824",
  "rgb": {
    "r": 24,
    "g": 8,
    "b": 36
  },
  "hsl": {
    "h": 274.286,
    "s": 63.636,
    "l": 8.627
  },
  "oklch": {
    "l": 0.17719,
    "c": 0.05772,
    "h": 308
  },
  "luminance": 0.00495
}

Semantic roles & 50–950 ramp

primary
#180824
secondary
#406226
accent
#E74188
background
#F4F4F5
surface
#E8E7E9
border
#C4C3C5
text
#030104
muted
#787779

Preview Lab

Preview with #180824

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

Preview Lab → · Contrast checker → · Palette generator →

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