#1E0436#1E0436

#1E0436 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.6% C 0.091 H 302.5°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#1E0436
RGBrgb(30, 4, 54)
HSLhsl(271, 86%, 11%)
HSVhsv(271, 93%, 21%)
CMYKcmyk(44.4%, 92.6%, 0%, 78.8%)
CIE-LABlab(5.68, 24.38, -26.48)
CIE-LCHlch(5.68, 36.00, 312.64°)
OKLaboklab(19.63% 0.049 -0.0769)
OKLCHoklch(19.63% 0.091 302.5)
XYZxyz(1.2445, 0.6292, 3.5452)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0436 #1C3604
analogous
#050436 #1E0436 #360435
triadic
#1E0436 #361E04 #04361E
tetradic
#1E0436 #360504 #1C3604 #043536
square
#1E0436 #360504 #1C3604 #043536
split-complementary
#1E0436 #353604 #043605
monochromatic
#10021C #10021C #1E0436 #3E086F #5D0CA8

Accessibility & contrast

On white

18.65
#1E0436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1E0436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0436
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0436#FFFFFF#000000##FFFFFF
##1E04361.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001237
Deuteranopia (green-blind)
#001235
Tritanopia (blue-blind)
#19111D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1e0436;
/* rgb */ color: rgb(30, 4, 54);
/* oklch */ color: oklch(19.6% 0.091 302.5);
Tailwind
colors: {
  custom: {
    50: '#5d486d',
    500: '#1e0436',
    950: '#000000',
  },
}
SCSS
$custom: #1e0436;
$custom-light: #5d486d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0436",
  "rgb": {
    "r": 30,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 271.2,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19635,
    "c": 0.09124,
    "h": 302.5
  },
  "luminance": 0.00629
}

Semantic roles & 50–950 ramp

primary
#1E0436
secondary
#49781E
accent
#FC2B90
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1E0436

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

Preview Lab → · Contrast checker → · Palette generator →

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