#1E0836#1E0836

#1E0836 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.084 H 300.9°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#1E0836
RGBrgb(30, 8, 54)
HSLhsl(269, 74%, 12%)
HSVhsv(269, 85%, 21%)
CMYKcmyk(44.4%, 85.2%, 0%, 78.8%)
CIE-LABlab(6.47, 22.36, -25.21)
CIE-LCHlch(6.47, 33.70, 311.57°)
OKLaboklab(20.29% 0.0434 -0.0725)
OKLCHoklch(20.29% 0.084 300.9)
XYZxyz(1.2879, 0.7160, 3.5597)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0836 #203608
analogous
#080936 #1E0836 #350836
triadic
#1E0836 #361E08 #08361E
tetradic
#1E0836 #360809 #203608 #083635
square
#1E0836 #360809 #203608 #083635
split-complementary
#1E0836 #363508 #093608
monochromatic
#0F041B #0F041B #1E0836 #3C106B #5918A1

Accessibility & contrast

On white

18.37
#1E0836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1E0836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0836
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0836#FFFFFF#000000##FFFFFF
##1E08361.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001437
Deuteranopia (green-blind)
#001435
Tritanopia (blue-blind)
#19131E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1e0836;
/* rgb */ color: rgb(30, 8, 54);
/* oklch */ color: oklch(20.3% 0.084 300.9);
Tailwind
colors: {
  custom: {
    50: '#5d4a6d',
    500: '#1e0836',
    950: '#000000',
  },
}
SCSS
$custom: #1e0836;
$custom-light: #5d4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0836",
  "rgb": {
    "r": 30,
    "g": 8,
    "b": 54
  },
  "hsl": {
    "h": 268.696,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20295,
    "c": 0.08446,
    "h": 300.9
  },
  "luminance": 0.00716
}

Semantic roles & 50–950 ramp

primary
#1E0836
secondary
#4F7525
accent
#F13798
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040107
muted
#79777A

Preview Lab

Preview with #1E0836

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

Preview Lab → · Contrast checker → · Palette generator →

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