#1E043F#1E043F

#1E043F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.102 H 296.4°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#1E043F
RGBrgb(30, 4, 63)
HSLhsl(266, 88%, 13%)
HSVhsv(266, 94%, 25%)
CMYKcmyk(52.4%, 93.7%, 0%, 75.3%)
CIE-LABlab(6.52, 27.67, -31.64)
CIE-LCHlch(6.52, 42.04, 311.17°)
OKLaboklab(20.63% 0.0453 -0.0912)
OKLCHoklch(20.63% 0.102 296.4)
XYZxyz(1.4758, 0.7217, 4.7632)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E043F #253F04
analogous
#04073F #1E043F #3B043F
triadic
#1E043F #3F1E04 #043F1E
tetradic
#1E043F #3F0407 #253F04 #043F3B
square
#1E043F #3F0407 #253F04 #043F3B
split-complementary
#1E043F #3F3B04 #073F04
monochromatic
#0E021D #0E021D #1E043F #390879 #550BB2

Accessibility & contrast

On white

18.35
#1E043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E043F
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E043F#FFFFFF#000000##FFFFFF
##1E043F1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#151522
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1e043f;
/* rgb */ color: rgb(30, 4, 63);
/* oklch */ color: oklch(20.6% 0.102 296.4);
Tailwind
colors: {
  custom: {
    50: '#5f4875',
    500: '#1e043f',
    950: '#000000',
  },
}
SCSS
$custom: #1e043f;
$custom-light: #5f4875;
$custom-dark: #000000;
JSON
{
  "hex": "#1e043f",
  "rgb": {
    "r": 30,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 266.441,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.20631,
    "c": 0.10187,
    "h": 296.4
  },
  "luminance": 0.00722
}

Semantic roles & 50–950 ramp

primary
#1E043F
secondary
#55801E
accent
#FE2AA1
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#050008
muted
#79777B

Preview Lab

Preview with #1E043F

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

Preview Lab → · Contrast checker → · Palette generator →

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