#1E0347#1E0347

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

Color values

HEX#1E0347
RGBrgb(30, 3, 71)
HSLhsl(264, 92%, 15%)
HSVhsv(264, 96%, 28%)
CMYKcmyk(57.7%, 95.8%, 0%, 72.2%)
CIE-LABlab(7.19, 30.93, -36.22)
CIE-LCHlch(7.19, 47.63, 310.49°)
OKLaboklab(21.43% 0.0426 -0.1042)
OKLCHoklch(21.43% 0.113 292.2)
XYZxyz(1.7050, 0.7960, 6.0238)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0347 #2C4703
analogous
#030A47 #1E0347 #400347
triadic
#1E0347 #471E03 #03471E
tetradic
#1E0347 #47030A #2C4703 #034740
square
#1E0347 #47030A #2C4703 #034740
split-complementary
#1E0347 #474003 #0A4703
monochromatic
#0C011D #0C011D #1E0347 #370582 #5008BC

Accessibility & contrast

On white

18.12
#1E0347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1E0347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0347
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0347#FFFFFF#000000##FFFFFF
##1E03471.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001749
Deuteranopia (green-blind)
#001446
Tritanopia (blue-blind)
#0F1827
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1e0347;
/* rgb */ color: rgb(30, 3, 71);
/* oklch */ color: oklch(21.4% 0.113 292.2);
Tailwind
colors: {
  custom: {
    50: '#60487b',
    500: '#1e0347',
    950: '#000000',
  },
}
SCSS
$custom: #1e0347;
$custom-light: #60487b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0347",
  "rgb": {
    "r": 30,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 263.824,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21427,
    "c": 0.1126,
    "h": 292.2
  },
  "luminance": 0.00796
}

Semantic roles & 50–950 ramp

primary
#1E0347
secondary
#5E881E
accent
#FF29AA
background
#F6F4F7
surface
#EBE6EE
border
#C6C2C9
text
#050009
muted
#7A777B

Preview Lab

Preview with #1E0347

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

Preview Lab → · Contrast checker → · Palette generator →

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