#1E0847#1E0847

#1E0847 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.106 H 290.8°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#1E0847
RGBrgb(30, 8, 71)
HSLhsl(261, 80%, 15%)
HSVhsv(261, 89%, 28%)
CMYKcmyk(57.7%, 88.7%, 0%, 72.2%)
CIE-LABlab(8.17, 28.09, -34.61)
CIE-LCHlch(8.17, 44.57, 309.06°)
OKLaboklab(22.12% 0.0378 -0.0995)
OKLCHoklch(22.12% 0.106 290.8)
XYZxyz(1.7593, 0.9045, 6.0419)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0847 #314708
analogous
#081247 #1E0847 #3D0847
triadic
#1E0847 #471E08 #08471E
tetradic
#1E0847 #470812 #314708 #08473D
square
#1E0847 #470812 #314708 #08473D
split-complementary
#1E0847 #473D08 #124708
monochromatic
#0C031C #0C031C #1E0847 #350E7E #4C14B5

Accessibility & contrast

On white

17.78
#1E0847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1E0847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0847
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0847#FFFFFF#000000##FFFFFF
##1E08471.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#0F1A28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1e0847;
/* rgb */ color: rgb(30, 8, 71);
/* oklch */ color: oklch(22.1% 0.106 290.8);
Tailwind
colors: {
  custom: {
    50: '#604a7b',
    500: '#1e0847',
    950: '#000000',
  },
}
SCSS
$custom: #1e0847;
$custom-light: #604a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0847",
  "rgb": {
    "r": 30,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 260.952,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22118,
    "c": 0.10643,
    "h": 290.8
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#1E0847
secondary
#648526
accent
#F632B2
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1E0847

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

Preview Lab → · Contrast checker → · Palette generator →

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