#180422#180422

#180422 is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 16.6% C 0.065 H 312.8°. Best body text is #FFFFFF at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#180422
RGBrgb(24, 4, 34)
HSLhsl(280, 79%, 7%)
HSVhsv(280, 88%, 13%)
CMYKcmyk(29.4%, 88.2%, 0%, 86.7%)
CIE-LABlab(3.58, 13.60, -14.73)
CIE-LCHlch(3.58, 20.05, 312.70°)
OKLaboklab(16.65% 0.0441 -0.0475)
OKLCHoklch(16.65% 0.065 312.8)
XYZxyz(0.7088, 0.3965, 1.5523)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180422 #0E2204
analogous
#090422 #180422 #22041D
triadic
#180422 #221804 #042218
tetradic
#180422 #220904 #0E2204 #041D22
square
#180422 #220904 #0E2204 #041D22
split-complementary
#180422 #1D2204 #042209
monochromatic
#13031B #13031B #180422 #3F0A59 #651190

Accessibility & contrast

On white

19.46
#180422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180422
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180422#FFFFFF#000000##FFFFFF
##1804221.0019.461.0819.46
#FFFFFF19.461.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C23
Deuteranopia (green-blind)
#020D21
Tritanopia (blue-blind)
#170911
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #180422;
/* rgb */ color: rgb(24, 4, 34);
/* oklch */ color: oklch(16.6% 0.065 312.8);
Tailwind
colors: {
  custom: {
    50: '#54485d',
    500: '#180422',
    950: '#000000',
  },
}
SCSS
$custom: #180422;
$custom-light: #54485d;
$custom-dark: #000000;
JSON
{
  "hex": "#180422",
  "rgb": {
    "r": 24,
    "g": 4,
    "b": 34
  },
  "hsl": {
    "h": 280,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.16647,
    "c": 0.06482,
    "h": 312.8
  },
  "luminance": 0.00397
}

Semantic roles & 50–950 ramp

primary
#180422
secondary
#35651D
accent
#F53273
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#030004
muted
#787779

Preview Lab

Preview with #180422

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

Preview Lab → · Contrast checker → · Palette generator →

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