#1E043A#1E043A

#1E043A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.096 H 299.6°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#1E043A
RGBrgb(30, 4, 58)
HSLhsl(269, 87%, 12%)
HSVhsv(269, 93%, 23%)
CMYKcmyk(48.3%, 93.1%, 0%, 77.3%)
CIE-LABlab(6.04, 25.87, -28.82)
CIE-LCHlch(6.04, 38.73, 311.91°)
OKLaboklab(20.07% 0.0474 -0.0834)
OKLCHoklch(20.07% 0.096 299.6)
XYZxyz(1.3424, 0.6683, 4.0604)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E043A #203A04
analogous
#04053A #1E043A #39043A
triadic
#1E043A #3A1E04 #043A1E
tetradic
#1E043A #3A0405 #203A04 #043A39
square
#1E043A #3A0405 #203A04 #043A39
split-complementary
#1E043A #3A3904 #053A04
monochromatic
#0F021D #0F021D #1E043A #3C0873 #590CAD

Accessibility & contrast

On white

18.53
#1E043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E043A
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E043A#FFFFFF#000000##FFFFFF
##1E043A1.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#17131F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1e043a;
/* rgb */ color: rgb(30, 4, 58);
/* oklch */ color: oklch(20.1% 0.096 299.6);
Tailwind
colors: {
  custom: {
    50: '#5e4871',
    500: '#1e043a',
    950: '#000000',
  },
}
SCSS
$custom: #1e043a;
$custom-light: #5e4871;
$custom-dark: #000000;
JSON
{
  "hex": "#1e043a",
  "rgb": {
    "r": 30,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 268.889,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20069,
    "c": 0.09596,
    "h": 299.6
  },
  "luminance": 0.00668
}

Semantic roles & 50–950 ramp

primary
#1E043A
secondary
#4F7C1E
accent
#FD2B98
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#050007
muted
#79777A

Preview Lab

Preview with #1E043A

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

Preview Lab → · Contrast checker → · Palette generator →

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