#1E0835#1E0835

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

Color values

HEX#1E0835
RGBrgb(30, 8, 53)
HSLhsl(269, 74%, 12%)
HSVhsv(269, 85%, 21%)
CMYKcmyk(43.4%, 84.9%, 0%, 79.2%)
CIE-LABlab(6.38, 22.00, -24.62)
CIE-LCHlch(6.38, 33.02, 311.79°)
OKLaboklab(20.2% 0.0436 -0.0708)
OKLCHoklch(20.2% 0.083 301.6)
XYZxyz(1.2647, 0.7067, 3.4373)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0835 #1F3508
analogous
#080935 #1E0835 #350835
triadic
#1E0835 #351E08 #08351E
tetradic
#1E0835 #350809 #1F3508 #083535
square
#1E0835 #350809 #1F3508 #083535
split-complementary
#1E0835 #353508 #093508
monochromatic
#0F041B #0F041B #1E0835 #3C106A #5A189F

Accessibility & contrast

On white

18.40
#1E0835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0835
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0835#FFFFFF#000000##FFFFFF
##1E08351.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001436
Deuteranopia (green-blind)
#001434
Tritanopia (blue-blind)
#19131D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1e0835;
/* rgb */ color: rgb(30, 8, 53);
/* oklch */ color: oklch(20.2% 0.083 301.6);
Tailwind
colors: {
  custom: {
    50: '#5c4a6d',
    500: '#1e0835',
    950: '#000000',
  },
}
SCSS
$custom: #1e0835;
$custom-light: #5c4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0835",
  "rgb": {
    "r": 30,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 269.333,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20196,
    "c": 0.08314,
    "h": 301.6
  },
  "luminance": 0.00707
}

Semantic roles & 50–950 ramp

primary
#1E0835
secondary
#4D7425
accent
#F03796
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040107
muted
#79777A

Preview Lab

Preview with #1E0835

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

Preview Lab → · Contrast checker → · Palette generator →

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