#1E0841#1E0841

#1E0841 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.099 H 293.9°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#1E0841
RGBrgb(30, 8, 65)
HSLhsl(263, 78%, 14%)
HSVhsv(263, 88%, 25%)
CMYKcmyk(53.8%, 87.7%, 0%, 74.5%)
CIE-LABlab(7.51, 26.17, -31.45)
CIE-LCHlch(7.51, 40.92, 309.76°)
OKLaboklab(21.45% 0.04 -0.0903)
OKLCHoklch(21.45% 0.099 293.9)
XYZxyz(1.5761, 0.8313, 5.0774)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0841 #2B4108
analogous
#080F41 #1E0841 #3B0841
triadic
#1E0841 #411E08 #08411E
tetradic
#1E0841 #41080F #2B4108 #08413B
square
#1E0841 #41080F #2B4108 #08413B
split-complementary
#1E0841 #413B08 #0F4108
monochromatic
#0D031B #0D031B #1E0841 #370F77 #5015AE

Accessibility & contrast

On white

18.01
#1E0841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1E0841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0841
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0841#FFFFFF#000000##FFFFFF
##1E08411.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#131824
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1e0841;
/* rgb */ color: rgb(30, 8, 65);
/* oklch */ color: oklch(21.4% 0.099 293.9);
Tailwind
colors: {
  custom: {
    50: '#5f4a76',
    500: '#1e0841',
    950: '#000000',
  },
}
SCSS
$custom: #1e0841;
$custom-light: #5f4a76;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0841",
  "rgb": {
    "r": 30,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 263.158,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21448,
    "c": 0.09875,
    "h": 293.9
  },
  "luminance": 0.00831
}

Semantic roles & 50–950 ramp

primary
#1E0841
secondary
#5D7F25
accent
#F533AA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1E0841

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

Preview Lab → · Contrast checker → · Palette generator →

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