#1E0747#1E0747

#1E0747 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.108 H 291.1°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#1E0747
RGBrgb(30, 7, 71)
HSLhsl(262, 82%, 15%)
HSVhsv(262, 90%, 28%)
CMYKcmyk(57.7%, 90.1%, 0%, 72.2%)
CIE-LABlab(7.97, 28.65, -34.93)
CIE-LCHlch(7.97, 45.18, 309.36°)
OKLaboklab(21.98% 0.0387 -0.1004)
OKLCHoklch(21.98% 0.108 291.1)
XYZxyz(1.7484, 0.8828, 6.0383)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0747 #304707
analogous
#071047 #1E0747 #3E0747
triadic
#1E0747 #471E07 #07471E
tetradic
#1E0747 #470710 #304707 #07473E
square
#1E0747 #470710 #304707 #07473E
split-complementary
#1E0747 #473E07 #104707
monochromatic
#0C031C #0C031C #1E0747 #360C7F #4D12B6

Accessibility & contrast

On white

17.85
#1E0747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0747
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0747#FFFFFF#000000##FFFFFF
##1E07471.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#0F1A27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1e0747;
/* rgb */ color: rgb(30, 7, 71);
/* oklch */ color: oklch(22.0% 0.108 291.1);
Tailwind
colors: {
  custom: {
    50: '#604a7b',
    500: '#1e0747',
    950: '#000000',
  },
}
SCSS
$custom: #1e0747;
$custom-light: #604a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0747",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 71
  },
  "hsl": {
    "h": 261.563,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21983,
    "c": 0.10762,
    "h": 291.1
  },
  "luminance": 0.00883
}

Semantic roles & 50–950 ramp

primary
#1E0747
secondary
#638624
accent
#F82FB0
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1E0747

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

Preview Lab → · Contrast checker → · Palette generator →

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