#1E0746#1E0746

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

Color values

HEX#1E0746
RGBrgb(30, 7, 70)
HSLhsl(262, 82%, 15%)
HSVhsv(262, 90%, 27%)
CMYKcmyk(57.1%, 90%, 0%, 72.5%)
CIE-LABlab(7.86, 28.34, -34.42)
CIE-LCHlch(7.86, 44.59, 309.47°)
OKLaboklab(21.87% 0.0391 -0.0989)
OKLCHoklch(21.87% 0.106 291.6)
XYZxyz(1.7166, 0.8701, 5.8707)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0746 #2F4607
analogous
#070F46 #1E0746 #3E0746
triadic
#1E0746 #461E07 #07461E
tetradic
#1E0746 #46070F #2F4607 #07463E
square
#1E0746 #46070F #2F4607 #07463E
split-complementary
#1E0746 #463E07 #0F4607
monochromatic
#0C031C #0C031C #1E0746 #360D7E #4E12B5

Accessibility & contrast

On white

17.89
#1E0746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0746
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0746#FFFFFF#000000##FFFFFF
##1E07461.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001645
Tritanopia (blue-blind)
#101927
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1e0746;
/* rgb */ color: rgb(30, 7, 70);
/* oklch */ color: oklch(21.9% 0.106 291.6);
Tailwind
colors: {
  custom: {
    50: '#604a7a',
    500: '#1e0746',
    950: '#000000',
  },
}
SCSS
$custom: #1e0746;
$custom-light: #604a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0746",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 261.905,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21869,
    "c": 0.10637,
    "h": 291.6
  },
  "luminance": 0.0087
}

Semantic roles & 50–950 ramp

primary
#1E0746
secondary
#618524
accent
#F830AF
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1E0746

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

Preview Lab → · Contrast checker → · Palette generator →

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