#1E043B#1E043B

#1E043B is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.097 H 298.9°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#1E043B
RGBrgb(30, 4, 59)
HSLhsl(268, 87%, 12%)
HSVhsv(268, 93%, 23%)
CMYKcmyk(49.2%, 93.2%, 0%, 76.9%)
CIE-LABlab(6.13, 26.24, -29.40)
CIE-LCHlch(6.13, 39.41, 311.75°)
OKLaboklab(20.18% 0.047 -0.085)
OKLCHoklch(20.18% 0.097 298.9)
XYZxyz(1.3681, 0.6786, 4.1957)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E043B #213B04
analogous
#04053B #1E043B #3A043B
triadic
#1E043B #3B1E04 #043B1E
tetradic
#1E043B #3B0405 #213B04 #043B3A
square
#1E043B #3B0405 #213B04 #043B3A
split-complementary
#1E043B #3B3A04 #053B04
monochromatic
#0F021D #0F021D #1E043B #3B0874 #580CAE

Accessibility & contrast

On white

18.49
#1E043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1E043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E043B
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E043B#FFFFFF#000000##FFFFFF
##1E043B1.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143C
Deuteranopia (green-blind)
#00133A
Tritanopia (blue-blind)
#171320
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1e043b;
/* rgb */ color: rgb(30, 4, 59);
/* oklch */ color: oklch(20.2% 0.097 298.9);
Tailwind
colors: {
  custom: {
    50: '#5e4871',
    500: '#1e043b',
    950: '#000000',
  },
}
SCSS
$custom: #1e043b;
$custom-light: #5e4871;
$custom-dark: #000000;
JSON
{
  "hex": "#1e043b",
  "rgb": {
    "r": 30,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 268.364,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2018,
    "c": 0.09715,
    "h": 298.9
  },
  "luminance": 0.00679
}

Semantic roles & 50–950 ramp

primary
#1E043B
secondary
#507D1E
accent
#FD2A9A
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#050008
muted
#79777B

Preview Lab

Preview with #1E043B

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

Preview Lab → · Contrast checker → · Palette generator →

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