#1C021B#1C021B

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

Color values

HEX#1C021B
RGBrgb(28, 2, 27)
HSLhsl(302, 87%, 6%)
HSVhsv(302, 93%, 11%)
CMYKcmyk(0%, 92.9%, 3.6%, 89%)
CIE-LABlab(3.34, 14.22, -9.51)
CIE-LCHlch(3.34, 17.11, 326.22°)
OKLaboklab(16.32% 0.0562 -0.033)
OKLCHoklch(16.32% 0.065 329.6)
XYZxyz(0.6984, 0.3695, 1.0712)
Luminance0.0037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C021B #021C03
analogous
#10021C #1C021B #1C020E
triadic
#1C021B #1B1C02 #021B1C
tetradic
#1C021B #1C1002 #021C03 #020E1C
square
#1C021B #1C1002 #021C03 #020E1C
split-complementary
#1C021B #0E1C02 #021C10
monochromatic
#1D021C #1D021C #1D021C #550652 #8E0A89

Accessibility & contrast

On white

19.56
#1C021B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C021B
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C021B#FFFFFF#000000##FFFFFF
##1C021B1.0019.561.0719.56
#FFFFFF19.561.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010A1C
Deuteranopia (green-blind)
#080D1A
Tritanopia (blue-blind)
#1D040C
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1c021b;
/* rgb */ color: rgb(28, 2, 27);
/* oklch */ color: oklch(16.3% 0.065 329.6);
Tailwind
colors: {
  custom: {
    50: '#574757',
    500: '#1c021b',
    950: '#000000',
  },
}
SCSS
$custom: #1c021b;
$custom-light: #574757;
$custom-dark: #000000;
JSON
{
  "hex": "#1c021b",
  "rgb": {
    "r": 28,
    "g": 2,
    "b": 27
  },
  "hsl": {
    "h": 302.308,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.16324,
    "c": 0.06517,
    "h": 329.6
  },
  "luminance": 0.00369
}

Semantic roles & 50–950 ramp

primary
#1C021B
secondary
#18621B
accent
#FD332B
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#030003
muted
#787778

Preview Lab

Preview with #1C021B

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

Preview Lab → · Contrast checker → · Palette generator →

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