#1E0439#1E0439

#1E0439 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.095 H 300.3°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#1E0439
RGBrgb(30, 4, 57)
HSLhsl(269, 87%, 12%)
HSVhsv(269, 93%, 22%)
CMYKcmyk(47.4%, 93%, 0%, 77.6%)
CIE-LABlab(5.95, 25.51, -28.25)
CIE-LCHlch(5.95, 38.06, 312.08°)
OKLaboklab(19.96% 0.0478 -0.0818)
OKLCHoklch(19.96% 0.095 300.3)
XYZxyz(1.3172, 0.6582, 3.9278)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0439 #1F3904
analogous
#040539 #1E0439 #390439
triadic
#1E0439 #391E04 #04391E
tetradic
#1E0439 #390405 #1F3904 #043939
square
#1E0439 #390405 #1F3904 #043939
split-complementary
#1E0439 #393904 #053904
monochromatic
#0F021D #0F021D #1E0439 #3C0872 #5A0CAB

Accessibility & contrast

On white

18.56
#1E0439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0439
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0439#FFFFFF#000000##FFFFFF
##1E04391.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#001338
Tritanopia (blue-blind)
#18121E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1e0439;
/* rgb */ color: rgb(30, 4, 57);
/* oklch */ color: oklch(20.0% 0.095 300.3);
Tailwind
colors: {
  custom: {
    50: '#5d4870',
    500: '#1e0439',
    950: '#000000',
  },
}
SCSS
$custom: #1e0439;
$custom-light: #5d4870;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0439",
  "rgb": {
    "r": 30,
    "g": 4,
    "b": 57
  },
  "hsl": {
    "h": 269.434,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19959,
    "c": 0.09478,
    "h": 300.3
  },
  "luminance": 0.00658
}

Semantic roles & 50–950 ramp

primary
#1E0439
secondary
#4D7B1E
accent
#FD2B96
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1E0439

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

Preview Lab → · Contrast checker → · Palette generator →

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