#180E20#180E20

#180E20 is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.7% C 0.038 H 308.7°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#180E20
RGBrgb(24, 14, 32)
HSLhsl(273, 39%, 9%)
HSVhsv(273, 56%, 13%)
CMYKcmyk(25%, 56.2%, 0%, 87.5%)
CIE-LABlab(5.53, 8.69, -10.20)
CIE-LCHlch(5.53, 13.40, 310.44°)
OKLaboklab(18.7% 0.0239 -0.0298)
OKLCHoklch(18.7% 0.038 308.7)
XYZxyz(0.7944, 0.6126, 1.4426)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E20 #16200E
analogous
#0F0E20 #180E20 #200E1F
triadic
#180E20 #20180E #0E2018
tetradic
#180E20 #200F0E #16200E #0E1F20
square
#180E20 #200F0E #16200E #0E1F20
split-complementary
#180E20 #1F200E #0E200F
monochromatic
#100915 #100915 #180E20 #38214B #583375

Accessibility & contrast

On white

18.71
#180E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180E20
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E20#FFFFFF#000000##FFFFFF
##180E201.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1221
Deuteranopia (green-blind)
#0C1220
Tritanopia (blue-blind)
#171115
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #180e20;
/* rgb */ color: rgb(24, 14, 32);
/* oklch */ color: oklch(18.7% 0.038 308.7);
Tailwind
colors: {
  custom: {
    50: '#544d5b',
    500: '#180e20',
    950: '#000000',
  },
}
SCSS
$custom: #180e20;
$custom-light: #544d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#180e20",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 32
  },
  "hsl": {
    "h": 273.333,
    "s": 39.13,
    "l": 9.02
  },
  "oklch": {
    "l": 0.18701,
    "c": 0.03818,
    "h": 308.7
  },
  "luminance": 0.00613
}

Semantic roles & 50–950 ramp

primary
#180E20
secondary
#435832
accent
#CF598D
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020104
muted
#787779

Preview Lab

Preview with #180E20

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

Preview Lab → · Contrast checker → · Palette generator →

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