#1C021F#1C021F

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

Color values

HEX#1C021F
RGBrgb(28, 2, 31)
HSLhsl(294, 88%, 6%)
HSVhsv(294, 94%, 12%)
CMYKcmyk(9.7%, 93.5%, 0%, 87.8%)
CIE-LABlab(3.52, 15.48, -12.43)
CIE-LCHlch(3.52, 19.85, 321.23°)
OKLaboklab(16.65% 0.056 -0.0408)
OKLCHoklch(16.65% 0.069 323.9)
XYZxyz(0.7479, 0.3893, 1.3318)
Luminance0.0039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C021F #051F02
analogous
#0E021F #1C021F #1F0214
triadic
#1C021F #1F1C02 #021F1C
tetradic
#1C021F #1F0E02 #051F02 #02141F
square
#1C021F #1F0E02 #051F02 #02141F
split-complementary
#1C021F #141F02 #021F0E
monochromatic
#1A021D #1A021D #1C021F #500658 #840992

Accessibility & contrast

On white

19.48
#1C021F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C021F
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C021F#FFFFFF#000000##FFFFFF
##1C021F1.0019.481.0819.48
#FFFFFF19.481.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A20
Deuteranopia (green-blind)
#050E1E
Tritanopia (blue-blind)
#1D060F
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #1c021f;
/* rgb */ color: rgb(28, 2, 31);
/* oklch */ color: oklch(16.6% 0.069 323.9);
Tailwind
colors: {
  custom: {
    50: '#57475a',
    500: '#1c021f',
    950: '#000000',
  },
}
SCSS
$custom: #1c021f;
$custom-light: #57475a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c021f",
  "rgb": {
    "r": 28,
    "g": 2,
    "b": 31
  },
  "hsl": {
    "h": 293.793,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.16648,
    "c": 0.06926,
    "h": 323.9
  },
  "luminance": 0.00389
}

Semantic roles & 50–950 ramp

primary
#1C021F
secondary
#206518
accent
#FE2A40
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#030004
muted
#787779

Preview Lab

Preview with #1C021F

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

Preview Lab → · Contrast checker → · Palette generator →

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