#1E0941#1E0941

#1E0941 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.097 H 293.6°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#1E0941
RGBrgb(30, 9, 65)
HSLhsl(263, 76%, 15%)
HSVhsv(263, 86%, 25%)
CMYKcmyk(53.8%, 86.2%, 0%, 74.5%)
CIE-LABlab(7.71, 25.62, -31.13)
CIE-LCHlch(7.71, 40.32, 309.45°)
OKLaboklab(21.59% 0.039 -0.0893)
OKLCHoklch(21.59% 0.097 293.6)
XYZxyz(1.5870, 0.8530, 5.0810)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0941 #2C4109
analogous
#091041 #1E0941 #3A0941
triadic
#1E0941 #411E09 #09411E
tetradic
#1E0941 #410910 #2C4109 #09413A
square
#1E0941 #410910 #2C4109 #09413A
split-complementary
#1E0941 #413A09 #104109
monochromatic
#0C041B #0C041B #1E0941 #371077 #5018AD

Accessibility & contrast

On white

17.94
#1E0941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0941
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0941#FFFFFF#000000##FFFFFF
##1E09411.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#131824
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1e0941;
/* rgb */ color: rgb(30, 9, 65);
/* oklch */ color: oklch(21.6% 0.097 293.6);
Tailwind
colors: {
  custom: {
    50: '#5f4b76',
    500: '#1e0941',
    950: '#000000',
  },
}
SCSS
$custom: #1e0941;
$custom-light: #5f4b76;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0941",
  "rgb": {
    "r": 30,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 262.5,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2159,
    "c": 0.09746,
    "h": 293.6
  },
  "luminance": 0.00853
}

Semantic roles & 50–950 ramp

primary
#1E0941
secondary
#5E7F27
accent
#F236AB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1E0941

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

Preview Lab → · Contrast checker → · Palette generator →

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