#1E082B#1E082B

#1E082B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.070 H 310.4°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#1E082B
RGBrgb(30, 8, 43)
HSLhsl(278, 69%, 10%)
HSVhsv(278, 81%, 17%)
CMYKcmyk(30.2%, 81.4%, 0%, 83.1%)
CIE-LABlab(5.64, 18.38, -18.38)
CIE-LCHlch(5.64, 25.99, 315.01°)
OKLaboklab(19.27% 0.0453 -0.0532)
OKLCHoklch(19.27% 0.07 310.4)
XYZxyz(1.0582, 0.6241, 2.3498)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E082B #152B08
analogous
#0C082B #1E082B #2B0827
triadic
#1E082B #2B1E08 #082B1E
tetradic
#1E082B #2B0C08 #152B08 #08272B
square
#1E082B #2B0C08 #152B08 #08272B
split-complementary
#1E082B #272B08 #082B0C
monochromatic
#12051A #12051A #1E082B #42125F #661B92

Accessibility & contrast

On white

18.67
#1E082B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E082B
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E082B#FFFFFF#000000##FFFFFF
##1E082B1.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112C
Deuteranopia (green-blind)
#04132A
Tritanopia (blue-blind)
#1C0F18
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1e082b;
/* rgb */ color: rgb(30, 8, 43);
/* oklch */ color: oklch(19.3% 0.070 310.4);
Tailwind
colors: {
  custom: {
    50: '#5b4a64',
    500: '#1e082b',
    950: '#000000',
  },
}
SCSS
$custom: #1e082b;
$custom-light: #5b4a64;
$custom-dark: #000000;
JSON
{
  "hex": "#1e082b",
  "rgb": {
    "r": 30,
    "g": 8,
    "b": 43
  },
  "hsl": {
    "h": 277.714,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.19266,
    "c": 0.06993,
    "h": 310.4
  },
  "luminance": 0.00624
}

Semantic roles & 50–950 ramp

primary
#1E082B
secondary
#3F6A25
accent
#EB3C7D
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #1E082B

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

Preview Lab → · Contrast checker → · Palette generator →

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