#1E0346#1E0346

#1E0346 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.111 H 292.7°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#1E0346
RGBrgb(30, 3, 70)
HSLhsl(264, 92%, 14%)
HSVhsv(264, 96%, 27%)
CMYKcmyk(57.1%, 95.7%, 0%, 72.5%)
CIE-LABlab(7.08, 30.61, -35.71)
CIE-LCHlch(7.08, 47.03, 310.60°)
OKLaboklab(21.31% 0.0431 -0.1028)
OKLCHoklch(21.31% 0.111 292.7)
XYZxyz(1.6732, 0.7833, 5.8562)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0346 #2B4603
analogous
#030A46 #1E0346 #400346
triadic
#1E0346 #461E03 #03461E
tetradic
#1E0346 #46030A #2B4603 #034640
square
#1E0346 #46030A #2B4603 #034640
split-complementary
#1E0346 #464003 #0A4603
monochromatic
#0D011D #0D011D #1E0346 #370681 #5008BB

Accessibility & contrast

On white

18.16
#1E0346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0346
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0346#FFFFFF#000000##FFFFFF
##1E03461.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001648
Deuteranopia (green-blind)
#001445
Tritanopia (blue-blind)
#101826
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1e0346;
/* rgb */ color: rgb(30, 3, 70);
/* oklch */ color: oklch(21.3% 0.111 292.7);
Tailwind
colors: {
  custom: {
    50: '#60477a',
    500: '#1e0346',
    950: '#000000',
  },
}
SCSS
$custom: #1e0346;
$custom-light: #60477a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0346",
  "rgb": {
    "r": 30,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 264.179,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21306,
    "c": 0.11144,
    "h": 292.7
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#1E0346
secondary
#5D871D
accent
#FF29A9
background
#F5F4F7
surface
#EAE6EE
border
#C6C2C9
text
#050009
muted
#79777B

Preview Lab

Preview with #1E0346

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

Preview Lab → · Contrast checker → · Palette generator →

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