#1E0220#1E0220

#1E0220 is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 17.1% C 0.071 H 325.4°. Best body text is #FFFFFF at 19.36:1 contrast (WCAG AA passes).

Color values

HEX#1E0220
RGBrgb(30, 2, 32)
HSLhsl(296, 88%, 7%)
HSVhsv(296, 94%, 13%)
CMYKcmyk(6.2%, 93.8%, 0%, 87.5%)
CIE-LABlab(3.83, 17.00, -12.72)
CIE-LCHlch(3.83, 21.23, 323.19°)
OKLaboklab(17.13% 0.0588 -0.0405)
OKLCHoklch(17.13% 0.071 325.4)
XYZxyz(0.8178, 0.4238, 1.4049)
Luminance0.0042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0220 #042002
analogous
#0F0220 #1E0220 #200213
triadic
#1E0220 #201E02 #02201E
tetradic
#1E0220 #200F02 #042002 #021320
square
#1E0220 #200F02 #042002 #021320
split-complementary
#1E0220 #132002 #02200F
monochromatic
#1B021D #1B021D #1E0220 #54065A #8A0993

Accessibility & contrast

On white

19.36
#1E0220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0220
19.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0220#FFFFFF#000000##FFFFFF
##1E02201.0019.361.0819.36
#FFFFFF19.361.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B21
Deuteranopia (green-blind)
#070F1F
Tritanopia (blue-blind)
#1F060F
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1e0220;
/* rgb */ color: rgb(30, 2, 32);
/* oklch */ color: oklch(17.1% 0.071 325.4);
Tailwind
colors: {
  custom: {
    50: '#59475b',
    500: '#1e0220',
    950: '#000000',
  },
}
SCSS
$custom: #1e0220;
$custom-light: #59475b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0220",
  "rgb": {
    "r": 30,
    "g": 2,
    "b": 32
  },
  "hsl": {
    "h": 296,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.17131,
    "c": 0.07141,
    "h": 325.4
  },
  "luminance": 0.00424
}

Semantic roles & 50–950 ramp

primary
#1E0220
secondary
#1D6618
accent
#FE2938
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#030004
muted
#787779

Preview Lab

Preview with #1E0220

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

Preview Lab → · Contrast checker → · Palette generator →

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