#180621#180621

#180621 is a very dark, muted purple. Relative luminance 0.004; OKLCH L 17.0% C 0.058 H 313.0°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#180621
RGBrgb(24, 6, 33)
HSLhsl(280, 69%, 8%)
HSVhsv(280, 82%, 13%)
CMYKcmyk(27.3%, 81.8%, 0%, 87.1%)
CIE-LABlab(3.92, 12.43, -13.43)
CIE-LCHlch(3.92, 18.30, 312.79°)
OKLaboklab(17.03% 0.0397 -0.0426)
OKLCHoklch(17.03% 0.058 313)
XYZxyz(0.7163, 0.4343, 1.4846)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180621 #0F2106
analogous
#0A0621 #180621 #21061C
triadic
#180621 #211806 #062118
tetradic
#180621 #210A06 #0F2106 #061C21
square
#180621 #210A06 #0F2106 #061C21
split-complementary
#180621 #1C2106 #06210A
monochromatic
#13051A #13051A #180621 #3E0F55 #631989

Accessibility & contrast

On white

19.32
#180621 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#180621 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180621
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180621#FFFFFF#000000##FFFFFF
##1806211.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010D22
Deuteranopia (green-blind)
#050E20
Tritanopia (blue-blind)
#170B12
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #180621;
/* rgb */ color: rgb(24, 6, 33);
/* oklch */ color: oklch(17.0% 0.058 313.0);
Tailwind
colors: {
  custom: {
    50: '#54495c',
    500: '#180621',
    950: '#000000',
  },
}
SCSS
$custom: #180621;
$custom-light: #54495c;
$custom-dark: #000000;
JSON
{
  "hex": "#180621",
  "rgb": {
    "r": 24,
    "g": 6,
    "b": 33
  },
  "hsl": {
    "h": 280,
    "s": 69.231,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17025,
    "c": 0.0582,
    "h": 313
  },
  "luminance": 0.00434
}

Semantic roles & 50–950 ramp

primary
#180621
secondary
#376122
accent
#EC3C77
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#030004
muted
#787779

Preview Lab

Preview with #180621

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

Preview Lab → · Contrast checker → · Palette generator →

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