#1E083F#1E083F

#1E083F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.096 H 295.0°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#1E083F
RGBrgb(30, 8, 63)
HSLhsl(264, 77%, 14%)
HSVhsv(264, 87%, 25%)
CMYKcmyk(52.4%, 87.3%, 0%, 75.3%)
CIE-LABlab(7.30, 25.50, -30.36)
CIE-LCHlch(7.30, 39.65, 310.03°)
OKLaboklab(21.23% 0.0407 -0.0871)
OKLCHoklch(21.23% 0.096 295)
XYZxyz(1.5192, 0.8085, 4.7777)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E083F #293F08
analogous
#080E3F #1E083F #3A083F
triadic
#1E083F #3F1E08 #083F1E
tetradic
#1E083F #3F080E #293F08 #083F3A
square
#1E083F #3F080E #293F08 #083F3A
split-complementary
#1E083F #3F3A08 #0E3F08
monochromatic
#0D031B #0D031B #1E083F #380F75 #5216AC

Accessibility & contrast

On white

18.08
#1E083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1E083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E083F
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E083F#FFFFFF#000000##FFFFFF
##1E083F1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#141723
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1e083f;
/* rgb */ color: rgb(30, 8, 63);
/* oklch */ color: oklch(21.2% 0.096 295.0);
Tailwind
colors: {
  custom: {
    50: '#5e4a75',
    500: '#1e083f',
    950: '#000000',
  },
}
SCSS
$custom: #1e083f;
$custom-light: #5e4a75;
$custom-dark: #000000;
JSON
{
  "hex": "#1e083f",
  "rgb": {
    "r": 30,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 264,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21231,
    "c": 0.09618,
    "h": 295
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#1E083F
secondary
#5A7E25
accent
#F434A7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1E083F

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

Preview Lab → · Contrast checker → · Palette generator →

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