#1E042D#1E042D

#1E042D is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.081 H 310.1°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#1E042D
RGBrgb(30, 4, 45)
HSLhsl(278, 84%, 10%)
HSVhsv(278, 91%, 18%)
CMYKcmyk(33.3%, 91.1%, 0%, 82.4%)
CIE-LABlab(4.99, 20.97, -20.91)
CIE-LCHlch(4.99, 29.61, 315.09°)
OKLaboklab(18.72% 0.052 -0.0617)
OKLCHoklch(18.72% 0.081 310.1)
XYZxyz(1.0524, 0.5523, 2.5333)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E042D #132D04
analogous
#0A042D #1E042D #2D0428
triadic
#1E042D #2D1E04 #042D1E
tetradic
#1E042D #2D0A04 #132D04 #04282D
square
#1E042D #2D0A04 #132D04 #04282D
split-complementary
#1E042D #282D04 #042D0A
monochromatic
#13021C #13021C #1E042D #430965 #690E9D

Accessibility & contrast

On white

18.91
#1E042D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E042D
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E042D#FFFFFF#000000##FFFFFF
##1E042D1.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102E
Deuteranopia (green-blind)
#00112C
Tritanopia (blue-blind)
#1C0D18
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1e042d;
/* rgb */ color: rgb(30, 4, 45);
/* oklch */ color: oklch(18.7% 0.081 310.1);
Tailwind
colors: {
  custom: {
    50: '#5b4866',
    500: '#1e042d',
    950: '#000000',
  },
}
SCSS
$custom: #1e042d;
$custom-light: #5b4866;
$custom-dark: #000000;
JSON
{
  "hex": "#1e042d",
  "rgb": {
    "r": 30,
    "g": 4,
    "b": 45
  },
  "hsl": {
    "h": 278.049,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18717,
    "c": 0.08064,
    "h": 310.1
  },
  "luminance": 0.00552
}

Semantic roles & 50–950 ramp

primary
#1E042D
secondary
#3B701D
accent
#FA2E79
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1E042D

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

Preview Lab → · Contrast checker → · Palette generator →

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