#1E082A#1E082A

#1E082A is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.069 H 311.4°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#1E082A
RGBrgb(30, 8, 42)
HSLhsl(279, 68%, 10%)
HSVhsv(279, 81%, 16%)
CMYKcmyk(28.6%, 81%, 0%, 83.5%)
CIE-LABlab(5.57, 18.02, -17.72)
CIE-LCHlch(5.57, 25.28, 315.48°)
OKLaboklab(19.18% 0.0454 -0.0514)
OKLCHoklch(19.18% 0.069 311.4)
XYZxyz(1.0401, 0.6169, 2.2543)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E082A #142A08
analogous
#0D082A #1E082A #2A0825
triadic
#1E082A #2A1E08 #082A1E
tetradic
#1E082A #2A0D08 #142A08 #08252A
square
#1E082A #2A0D08 #142A08 #08252A
split-complementary
#1E082A #252A08 #082A0D
monochromatic
#12051A #12051A #1E082A #43125D #671C91

Accessibility & contrast

On white

18.69
#1E082A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1E082A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E082A
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E082A#FFFFFF#000000##FFFFFF
##1E082A1.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#051329
Tritanopia (blue-blind)
#1D0F17
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1e082a;
/* rgb */ color: rgb(30, 8, 42);
/* oklch */ color: oklch(19.2% 0.069 311.4);
Tailwind
colors: {
  custom: {
    50: '#5b4a63',
    500: '#1e082a',
    950: '#000000',
  },
}
SCSS
$custom: #1e082a;
$custom-light: #5b4a63;
$custom-dark: #000000;
JSON
{
  "hex": "#1e082a",
  "rgb": {
    "r": 30,
    "g": 8,
    "b": 42
  },
  "hsl": {
    "h": 278.824,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.1918,
    "c": 0.0686,
    "h": 311.4
  },
  "luminance": 0.00617
}

Semantic roles & 50–950 ramp

primary
#1E082A
secondary
#3D6925
accent
#EB3D7A
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #1E082A

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

Preview Lab → · Contrast checker → · Palette generator →

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