#1C021C#1C021C

#1C021C is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 16.4% C 0.066 H 328.1°. Best body text is #FFFFFF at 19.54:1 contrast (WCAG AA passes).

Color values

HEX#1C021C
RGBrgb(28, 2, 28)
HSLhsl(300, 87%, 6%)
HSVhsv(300, 93%, 11%)
CMYKcmyk(0%, 92.9%, 0%, 89%)
CIE-LABlab(3.38, 14.52, -10.25)
CIE-LCHlch(3.38, 17.78, 324.78°)
OKLaboklab(16.4% 0.0562 -0.035)
OKLCHoklch(16.4% 0.066 328.1)
XYZxyz(0.7102, 0.3742, 1.1332)
Luminance0.0037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C021C #021C02
analogous
#0F021C #1C021C #1C020F
triadic
#1C021C #1C1C02 #021C1C
tetradic
#1C021C #1C0F02 #021C02 #020F1C
square
#1C021C #1C0F02 #021C02 #020F1C
split-complementary
#1C021C #0F1C02 #021C0F
monochromatic
#1D021D #1D021D #1D021D #550655 #8E0A8E

Accessibility & contrast

On white

19.54
#1C021C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#1C021C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C021C
19.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C021C#FFFFFF#000000##FFFFFF
##1C021C1.0019.541.0719.54
#FFFFFF19.541.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A1D
Deuteranopia (green-blind)
#070E1B
Tritanopia (blue-blind)
#1D050D
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1c021c;
/* rgb */ color: rgb(28, 2, 28);
/* oklch */ color: oklch(16.4% 0.066 328.1);
Tailwind
colors: {
  custom: {
    50: '#574758',
    500: '#1c021c',
    950: '#000000',
  },
}
SCSS
$custom: #1c021c;
$custom-light: #574758;
$custom-dark: #000000;
JSON
{
  "hex": "#1c021c",
  "rgb": {
    "r": 28,
    "g": 2,
    "b": 28
  },
  "hsl": {
    "h": 300,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.16402,
    "c": 0.06618,
    "h": 328.1
  },
  "luminance": 0.00374
}

Semantic roles & 50–950 ramp

primary
#1C021C
secondary
#186218
accent
#FD2B2B
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#030003
muted
#787778

Preview Lab

Preview with #1C021C

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

Preview Lab → · Contrast checker → · Palette generator →

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