#1E0936#1E0936

#1E0936 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.083 H 300.5°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#1E0936
RGBrgb(30, 9, 54)
HSLhsl(268, 71%, 12%)
HSVhsv(268, 83%, 21%)
CMYKcmyk(44.4%, 83.3%, 0%, 78.8%)
CIE-LABlab(6.66, 21.85, -24.90)
CIE-LCHlch(6.66, 33.13, 311.27°)
OKLaboklab(20.45% 0.042 -0.0714)
OKLCHoklch(20.45% 0.083 300.5)
XYZxyz(1.2988, 0.7377, 3.5633)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0936 #213609
analogous
#090A36 #1E0936 #350936
triadic
#1E0936 #361E09 #09361E
tetradic
#1E0936 #36090A #213609 #093635
square
#1E0936 #36090A #213609 #093635
split-complementary
#1E0936 #363509 #0A3609
monochromatic
#0F041A #0F041A #1E0936 #3B126A #581A9F

Accessibility & contrast

On white

18.30
#1E0936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1E0936 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0936
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0936#FFFFFF#000000##FFFFFF
##1E09361.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#001435
Tritanopia (blue-blind)
#19141E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1e0936;
/* rgb */ color: rgb(30, 9, 54);
/* oklch */ color: oklch(20.5% 0.083 300.5);
Tailwind
colors: {
  custom: {
    50: '#5d4a6d',
    500: '#1e0936',
    950: '#000000',
  },
}
SCSS
$custom: #1e0936;
$custom-light: #5d4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0936",
  "rgb": {
    "r": 30,
    "g": 9,
    "b": 54
  },
  "hsl": {
    "h": 268,
    "s": 71.429,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20454,
    "c": 0.08287,
    "h": 300.5
  },
  "luminance": 0.00738
}

Semantic roles & 50–950 ramp

primary
#1E0936
secondary
#507427
accent
#EE3A9A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040107
muted
#79777A

Preview Lab

Preview with #1E0936

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

Preview Lab → · Contrast checker → · Palette generator →

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