#1E0434#1E0434

#1E0434 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.089 H 304.0°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#1E0434
RGBrgb(30, 4, 52)
HSLhsl(273, 86%, 11%)
HSVhsv(273, 92%, 20%)
CMYKcmyk(42.3%, 92.3%, 0%, 79.6%)
CIE-LABlab(5.52, 23.63, -25.28)
CIE-LCHlch(5.52, 34.60, 313.07°)
OKLaboklab(19.42% 0.0498 -0.0736)
OKLCHoklch(19.42% 0.089 304)
XYZxyz(1.1985, 0.6108, 3.3029)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0434 #1A3404
analogous
#060434 #1E0434 #340432
triadic
#1E0434 #341E04 #04341E
tetradic
#1E0434 #340604 #1A3404 #043234
square
#1E0434 #340604 #1A3404 #043234
split-complementary
#1E0434 #323404 #043406
monochromatic
#10021C #10021C #1E0434 #3F086D #600DA6

Accessibility & contrast

On white

18.71
#1E0434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1E0434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0434
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0434#FFFFFF#000000##FFFFFF
##1E04341.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001235
Deuteranopia (green-blind)
#001233
Tritanopia (blue-blind)
#1A101C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1e0434;
/* rgb */ color: rgb(30, 4, 52);
/* oklch */ color: oklch(19.4% 0.089 304.0);
Tailwind
colors: {
  custom: {
    50: '#5c476c',
    500: '#1e0434',
    950: '#000000',
  },
}
SCSS
$custom: #1e0434;
$custom-light: #5c476c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0434",
  "rgb": {
    "r": 30,
    "g": 4,
    "b": 52
  },
  "hsl": {
    "h": 272.5,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19423,
    "c": 0.08888,
    "h": 304
  },
  "luminance": 0.00611
}

Semantic roles & 50–950 ramp

primary
#1E0434
secondary
#46761E
accent
#FC2C8B
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1E0434

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

Preview Lab → · Contrast checker → · Palette generator →

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