#1E0834#1E0834

#1E0834 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.082 H 302.4°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#1E0834
RGBrgb(30, 8, 52)
HSLhsl(270, 73%, 12%)
HSVhsv(270, 85%, 20%)
CMYKcmyk(42.3%, 84.6%, 0%, 79.6%)
CIE-LABlab(6.30, 21.64, -24.02)
CIE-LCHlch(6.30, 32.33, 312.02°)
OKLaboklab(20.1% 0.0438 -0.0691)
OKLCHoklch(20.1% 0.082 302.4)
XYZxyz(1.2419, 0.6976, 3.3174)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0834 #1E3408
analogous
#080834 #1E0834 #340834
triadic
#1E0834 #341E08 #08341E
tetradic
#1E0834 #340808 #1E3408 #083434
square
#1E0834 #340808 #1E3408 #083434
split-complementary
#1E0834 #343408 #083408
monochromatic
#0F041B #0F041B #1E0834 #3D1069 #5B189E

Accessibility & contrast

On white

18.43
#1E0834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0834
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0834#FFFFFF#000000##FFFFFF
##1E08341.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e0834;
/* rgb */ color: rgb(30, 8, 52);
/* oklch */ color: oklch(20.1% 0.082 302.4);
Tailwind
colors: {
  custom: {
    50: '#5c4a6c',
    500: '#1e0834',
    950: '#000000',
  },
}
SCSS
$custom: #1e0834;
$custom-light: #5c4a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0834",
  "rgb": {
    "r": 30,
    "g": 8,
    "b": 52
  },
  "hsl": {
    "h": 270,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20098,
    "c": 0.08183,
    "h": 302.4
  },
  "luminance": 0.00698
}

Semantic roles & 50–950 ramp

primary
#1E0834
secondary
#4C7325
accent
#F03894
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040107
muted
#79777A

Preview Lab

Preview with #1E0834

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

Preview Lab → · Contrast checker → · Palette generator →

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