#1C021A#1C021A

#1C021A is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 16.2% C 0.064 H 331.1°. Best body text is #FFFFFF at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#1C021A
RGBrgb(28, 2, 26)
HSLhsl(305, 87%, 6%)
HSVhsv(305, 93%, 11%)
CMYKcmyk(0%, 92.9%, 7.1%, 89%)
CIE-LABlab(3.30, 13.94, -8.77)
CIE-LCHlch(3.30, 16.47, 327.82°)
OKLaboklab(16.25% 0.0562 -0.031)
OKLCHoklch(16.25% 0.064 331.1)
XYZxyz(0.6871, 0.3649, 1.0113)
Luminance0.0037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C021A #021C04
analogous
#11021C #1C021A #1C020D
triadic
#1C021A #1A1C02 #021A1C
tetradic
#1C021A #1C1102 #021C04 #020D1C
square
#1C021A #1C1102 #021C04 #020D1C
split-complementary
#1C021A #0D1C02 #021C11
monochromatic
#1D021B #1D021B #1D021B #55064F #8E0A84

Accessibility & contrast

On white

19.57
#1C021A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C021A
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C021A#FFFFFF#000000##FFFFFF
##1C021A1.0019.571.0719.57
#FFFFFF19.571.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01091B
Deuteranopia (green-blind)
#080D19
Tritanopia (blue-blind)
#1E040C
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1c021a;
/* rgb */ color: rgb(28, 2, 26);
/* oklch */ color: oklch(16.2% 0.064 331.1);
Tailwind
colors: {
  custom: {
    50: '#574756',
    500: '#1c021a',
    950: '#000000',
  },
}
SCSS
$custom: #1c021a;
$custom-light: #574756;
$custom-dark: #000000;
JSON
{
  "hex": "#1c021a",
  "rgb": {
    "r": 28,
    "g": 2,
    "b": 26
  },
  "hsl": {
    "h": 304.615,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.16247,
    "c": 0.06418,
    "h": 331.1
  },
  "luminance": 0.00365
}

Semantic roles & 50–950 ramp

primary
#1C021A
secondary
#18621E
accent
#FD3B2B
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#030003
muted
#787778

Preview Lab

Preview with #1C021A

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

Preview Lab → · Contrast checker → · Palette generator →

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