#180A22#180A22

#180A22 is a very dark, muted violet. Relative luminance 0.005; OKLCH L 18.0% C 0.050 H 309.1°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#180A22
RGBrgb(24, 10, 34)
HSLhsl(275, 55%, 9%)
HSVhsv(275, 71%, 13%)
CMYKcmyk(29.4%, 70.6%, 0%, 86.7%)
CIE-LABlab(4.76, 11.19, -12.93)
CIE-LCHlch(4.76, 17.10, 310.88°)
OKLaboklab(17.97% 0.0318 -0.039)
OKLCHoklch(17.97% 0.05 309.1)
XYZxyz(0.7739, 0.5268, 1.5740)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A22 #14220A
analogous
#0C0A22 #180A22 #220A20
triadic
#180A22 #22180A #0A2218
tetradic
#180A22 #220C0A #14220A #0A2022
square
#180A22 #220C0A #14220A #0A2022
split-complementary
#180A22 #20220A #0A220C
monochromatic
#110718 #110718 #180A22 #391851 #5B2681

Accessibility & contrast

On white

19.00
#180A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#180A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180A22
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A22#FFFFFF#000000##FFFFFF
##180A221.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041023
Deuteranopia (green-blind)
#081021
Tritanopia (blue-blind)
#170E14
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #180a22;
/* rgb */ color: rgb(24, 10, 34);
/* oklch */ color: oklch(18.0% 0.050 309.1);
Tailwind
colors: {
  custom: {
    50: '#544b5d',
    500: '#180a22',
    950: '#000000',
  },
}
SCSS
$custom: #180a22;
$custom-light: #544b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#180a22",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 34
  },
  "hsl": {
    "h": 275,
    "s": 54.545,
    "l": 8.627
  },
  "oklch": {
    "l": 0.1797,
    "c": 0.05034,
    "h": 309.1
  },
  "luminance": 0.00527
}

Semantic roles & 50–950 ramp

primary
#180A22
secondary
#405E2A
accent
#DE4A88
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#030104
muted
#787779

Preview Lab

Preview with #180A22

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

Preview Lab → · Contrast checker → · Palette generator →

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