#1E1046#1E1046

#1E1046 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.095 H 288.6°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#1E1046
RGBrgb(30, 16, 70)
HSLhsl(256, 63%, 17%)
HSVhsv(256, 77%, 27%)
CMYKcmyk(57.1%, 77.1%, 0%, 72.5%)
CIE-LABlab(9.71, 23.09, -31.39)
CIE-LCHlch(9.71, 38.97, 306.35°)
OKLaboklab(23.17% 0.0303 -0.0901)
OKLCHoklch(23.17% 0.095 288.6)
XYZxyz(1.8259, 1.0887, 5.9071)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1046 #384610
analogous
#101D46 #1E1046 #391046
triadic
#1E1046 #461E10 #10461E
tetradic
#1E1046 #46101D #384610 #104639
square
#1E1046 #46101D #384610 #104639
split-complementary
#1E1046 #463910 #1D4610
monochromatic
#0B0619 #0B0619 #1E1046 #331B78 #4927AA

Accessibility & contrast

On white

17.24
#1E1046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1E1046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1046
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1046#FFFFFF#000000##FFFFFF
##1E10461.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#001A45
Tritanopia (blue-blind)
#0F1E29
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1e1046;
/* rgb */ color: rgb(30, 16, 70);
/* oklch */ color: oklch(23.2% 0.095 288.6);
Tailwind
colors: {
  custom: {
    50: '#5f4f7a',
    500: '#1e1046',
    950: '#000000',
  },
}
SCSS
$custom: #1e1046;
$custom-light: #5f4f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1046",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 255.556,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23171,
    "c": 0.09506,
    "h": 288.6
  },
  "luminance": 0.01089
}

Semantic roles & 50–950 ramp

primary
#1E1046
secondary
#6C8032
accent
#E642BB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #1E1046

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

Preview Lab → · Contrast checker → · Palette generator →

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