#1C021D#1C021D

#1C021D is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 16.5% C 0.067 H 326.6°. Best body text is #FFFFFF at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#1C021D
RGBrgb(28, 2, 29)
HSLhsl(298, 87%, 6%)
HSVhsv(298, 93%, 11%)
CMYKcmyk(3.4%, 93.1%, 0%, 88.6%)
CIE-LABlab(3.42, 14.83, -10.98)
CIE-LCHlch(3.42, 18.46, 323.48°)
OKLaboklab(16.48% 0.0561 -0.0369)
OKLCHoklch(16.48% 0.067 326.6)
XYZxyz(0.7224, 0.3791, 1.1973)
Luminance0.0038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C021D #031D02
analogous
#0E021D #1C021D #1D0210
triadic
#1C021D #1D1C02 #021D1C
tetradic
#1C021D #1D0E02 #031D02 #02101D
square
#1C021D #1D0E02 #031D02 #02101D
split-complementary
#1C021D #101D02 #021D0E
monochromatic
#1C021D #1C021D #1C021D #530656 #8B0A90

Accessibility & contrast

On white

19.52
#1C021D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#1C021D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C021D
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C021D#FFFFFF#000000##FFFFFF
##1C021D1.0019.521.0819.52
#FFFFFF19.521.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A1E
Deuteranopia (green-blind)
#070E1C
Tritanopia (blue-blind)
#1D050E
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1c021d;
/* rgb */ color: rgb(28, 2, 29);
/* oklch */ color: oklch(16.5% 0.067 326.6);
Tailwind
colors: {
  custom: {
    50: '#574758',
    500: '#1c021d',
    950: '#000000',
  },
}
SCSS
$custom: #1c021d;
$custom-light: #574758;
$custom-dark: #000000;
JSON
{
  "hex": "#1c021d",
  "rgb": {
    "r": 28,
    "g": 2,
    "b": 29
  },
  "hsl": {
    "h": 297.778,
    "s": 87.097,
    "l": 6.078
  },
  "oklch": {
    "l": 0.16482,
    "c": 0.0672,
    "h": 326.6
  },
  "luminance": 0.00379
}

Semantic roles & 50–950 ramp

primary
#1C021D
secondary
#1B6318
accent
#FD2B32
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#030003
muted
#787778

Preview Lab

Preview with #1C021D

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

Preview Lab → · Contrast checker → · Palette generator →

#1C021D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva