#180E22#180E22

#180E22 is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.8% C 0.042 H 305.9°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#180E22
RGBrgb(24, 14, 34)
HSLhsl(270, 42%, 9%)
HSVhsv(270, 59%, 13%)
CMYKcmyk(29.4%, 58.8%, 0%, 86.7%)
CIE-LABlab(5.63, 9.40, -11.58)
CIE-LCHlch(5.63, 14.92, 309.06°)
OKLaboklab(18.84% 0.0243 -0.0337)
OKLCHoklch(18.84% 0.042 305.9)
XYZxyz(0.8224, 0.6238, 1.5901)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E22 #18220E
analogous
#0E0E22 #180E22 #220E22
triadic
#180E22 #22180E #0E2218
tetradic
#180E22 #220E0E #18220E #0E2222
square
#180E22 #220E0E #18220E #0E2222
split-complementary
#180E22 #22220E #0E220E
monochromatic
#0F0916 #0F0916 #180E22 #37204D #553279

Accessibility & contrast

On white

18.67
#180E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#180E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180E22
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E22#FFFFFF#000000##FFFFFF
##180E221.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091223
Deuteranopia (green-blind)
#0B1221
Tritanopia (blue-blind)
#161116
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #180e22;
/* rgb */ color: rgb(24, 14, 34);
/* oklch */ color: oklch(18.8% 0.042 305.9);
Tailwind
colors: {
  custom: {
    50: '#544d5d',
    500: '#180e22',
    950: '#000000',
  },
}
SCSS
$custom: #180e22;
$custom-light: #544d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#180e22",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 34
  },
  "hsl": {
    "h": 270,
    "s": 41.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.1884,
    "c": 0.04154,
    "h": 305.9
  },
  "luminance": 0.00624
}

Semantic roles & 50–950 ramp

primary
#180E22
secondary
#465A32
accent
#D15694
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#030104
muted
#787779

Preview Lab

Preview with #180E22

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

Preview Lab → · Contrast checker → · Palette generator →

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