#1E0822#1E0822

#1E0822 is a very dark, muted purple. Relative luminance 0.006; OKLCH L 18.5% C 0.058 H 321.3°. Best body text is #FFFFFF at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#1E0822
RGBrgb(30, 8, 34)
HSLhsl(291, 62%, 8%)
HSVhsv(291, 76%, 13%)
CMYKcmyk(11.8%, 76.5%, 0%, 86.7%)
CIE-LABlab(5.11, 15.24, -12.33)
CIE-LCHlch(5.11, 19.60, 321.01°)
OKLaboklab(18.54% 0.0454 -0.0364)
OKLCHoklch(18.54% 0.058 321.3)
XYZxyz(0.9110, 0.5652, 1.5742)
Luminance0.0056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0822 #0C2208
analogous
#110822 #1E0822 #220819
triadic
#1E0822 #221E08 #08221E
tetradic
#1E0822 #221108 #0C2208 #081922
square
#1E0822 #221108 #0C2208 #081922
split-complementary
#1E0822 #192208 #082211
monochromatic
#160619 #160619 #1E0822 #4A1454 #751F85

Accessibility & contrast

On white

18.87
#1E0822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1E0822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0822
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0822#FFFFFF#000000##FFFFFF
##1E08221.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041023
Deuteranopia (green-blind)
#0B1221
Tritanopia (blue-blind)
#1E0C13
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1e0822;
/* rgb */ color: rgb(30, 8, 34);
/* oklch */ color: oklch(18.5% 0.058 321.3);
Tailwind
colors: {
  custom: {
    50: '#5a4a5d',
    500: '#1e0822',
    950: '#000000',
  },
}
SCSS
$custom: #1e0822;
$custom-light: #5a4a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0822",
  "rgb": {
    "r": 30,
    "g": 8,
    "b": 34
  },
  "hsl": {
    "h": 290.769,
    "s": 61.905,
    "l": 8.235
  },
  "oklch": {
    "l": 0.1854,
    "c": 0.0582,
    "h": 321.3
  },
  "luminance": 0.00565
}

Semantic roles & 50–950 ramp

primary
#1E0822
secondary
#2F6026
accent
#E5435C
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040104
muted
#797779

Preview Lab

Preview with #1E0822

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

Preview Lab → · Contrast checker → · Palette generator →

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