#1C021E#1C021E

#1C021E is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 16.6% C 0.068 H 325.2°. Best body text is #FFFFFF at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#1C021E
RGBrgb(28, 2, 30)
HSLhsl(296, 88%, 6%)
HSVhsv(296, 93%, 12%)
CMYKcmyk(6.7%, 93.3%, 0%, 88.2%)
CIE-LABlab(3.47, 15.15, -11.71)
CIE-LCHlch(3.47, 19.15, 322.29°)
OKLaboklab(16.56% 0.0561 -0.0389)
OKLCHoklch(16.56% 0.068 325.2)
XYZxyz(0.7349, 0.3841, 1.2635)
Luminance0.0038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C021E #041E02
analogous
#0E021E #1C021E #1E0212
triadic
#1C021E #1E1C02 #021E1C
tetradic
#1C021E #1E0E02 #041E02 #02121E
square
#1C021E #1E0E02 #041E02 #02121E
split-complementary
#1C021E #121E02 #021E0E
monochromatic
#1B021D #1B021D #1C021E #520657 #870A91

Accessibility & contrast

On white

19.50
#1C021E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C021E
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C021E#FFFFFF#000000##FFFFFF
##1C021E1.0019.501.0819.50
#FFFFFF19.501.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A1F
Deuteranopia (green-blind)
#060E1D
Tritanopia (blue-blind)
#1D050E
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1c021e;
/* rgb */ color: rgb(28, 2, 30);
/* oklch */ color: oklch(16.6% 0.068 325.2);
Tailwind
colors: {
  custom: {
    50: '#574759',
    500: '#1c021e',
    950: '#000000',
  },
}
SCSS
$custom: #1c021e;
$custom-light: #574759;
$custom-dark: #000000;
JSON
{
  "hex": "#1c021e",
  "rgb": {
    "r": 28,
    "g": 2,
    "b": 30
  },
  "hsl": {
    "h": 295.714,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.16565,
    "c": 0.06822,
    "h": 325.2
  },
  "luminance": 0.00384
}

Semantic roles & 50–950 ramp

primary
#1C021E
secondary
#1D6418
accent
#FE2A39
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#030003
muted
#787778

Preview Lab

Preview with #1C021E

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

Preview Lab → · Contrast checker → · Palette generator →

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