#1E0844#1E0844

#1E0844 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.103 H 292.3°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#1E0844
RGBrgb(30, 8, 68)
HSLhsl(262, 79%, 15%)
HSVhsv(262, 88%, 27%)
CMYKcmyk(55.9%, 88.2%, 0%, 73.3%)
CIE-LABlab(7.83, 27.14, -33.05)
CIE-LCHlch(7.83, 42.77, 309.39°)
OKLaboklab(21.78% 0.0389 -0.0949)
OKLCHoklch(21.78% 0.103 292.3)
XYZxyz(1.6653, 0.8670, 5.5473)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0844 #2E4408
analogous
#081044 #1E0844 #3C0844
triadic
#1E0844 #441E08 #08441E
tetradic
#1E0844 #440810 #2E4408 #08443C
square
#1E0844 #440810 #2E4408 #08443C
split-complementary
#1E0844 #443C08 #104408
monochromatic
#0C031B #0C031B #1E0844 #360E7B #4E15B2

Accessibility & contrast

On white

17.90
#1E0844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0844
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0844#FFFFFF#000000##FFFFFF
##1E08441.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001846
Deuteranopia (green-blind)
#001643
Tritanopia (blue-blind)
#111926
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1e0844;
/* rgb */ color: rgb(30, 8, 68);
/* oklch */ color: oklch(21.8% 0.103 292.3);
Tailwind
colors: {
  custom: {
    50: '#5f4a79',
    500: '#1e0844',
    950: '#000000',
  },
}
SCSS
$custom: #1e0844;
$custom-light: #5f4a79;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0844",
  "rgb": {
    "r": 30,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 262,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2178,
    "c": 0.1026,
    "h": 292.3
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#1E0844
secondary
#608226
accent
#F532AE
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1E0844

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

Preview Lab → · Contrast checker → · Palette generator →

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