#1E0940#1E0940

#1E0940 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.096 H 294.1°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#1E0940
RGBrgb(30, 9, 64)
HSLhsl(263, 75%, 14%)
HSVhsv(263, 86%, 25%)
CMYKcmyk(53.1%, 85.9%, 0%, 74.9%)
CIE-LABlab(7.60, 25.29, -30.59)
CIE-LCHlch(7.60, 39.69, 309.58°)
OKLaboklab(21.48% 0.0393 -0.0878)
OKLCHoklch(21.48% 0.096 294.1)
XYZxyz(1.5583, 0.8415, 4.9298)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0940 #2B4009
analogous
#091040 #1E0940 #3A0940
triadic
#1E0940 #401E09 #09401E
tetradic
#1E0940 #400910 #2B4009 #09403A
square
#1E0940 #400910 #2B4009 #09403A
split-complementary
#1E0940 #403A09 #104009
monochromatic
#0D041B #0D041B #1E0940 #371176 #5018AB

Accessibility & contrast

On white

17.97
#1E0940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0940
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0940#FFFFFF#000000##FFFFFF
##1E09401.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00163F
Tritanopia (blue-blind)
#141824
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1e0940;
/* rgb */ color: rgb(30, 9, 64);
/* oklch */ color: oklch(21.5% 0.096 294.1);
Tailwind
colors: {
  custom: {
    50: '#5e4b75',
    500: '#1e0940',
    950: '#000000',
  },
}
SCSS
$custom: #1e0940;
$custom-light: #5e4b75;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0940",
  "rgb": {
    "r": 30,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 262.909,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21482,
    "c": 0.09615,
    "h": 294.1
  },
  "luminance": 0.00842
}

Semantic roles & 50–950 ramp

primary
#1E0940
secondary
#5D7E27
accent
#F236AA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1E0940

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

Preview Lab → · Contrast checker → · Palette generator →

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