#1E083B#1E083B

#1E083B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.091 H 297.5°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#1E083B
RGBrgb(30, 8, 59)
HSLhsl(266, 76%, 13%)
HSVhsv(266, 86%, 23%)
CMYKcmyk(49.2%, 86.4%, 0%, 76.9%)
CIE-LABlab(6.91, 24.13, -28.12)
CIE-LCHlch(6.91, 37.06, 310.63°)
OKLaboklab(20.81% 0.042 -0.0807)
OKLCHoklch(20.81% 0.091 297.5)
XYZxyz(1.4115, 0.7654, 4.2102)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E083B #253B08
analogous
#080C3B #1E083B #37083B
triadic
#1E083B #3B1E08 #083B1E
tetradic
#1E083B #3B080C #253B08 #083B37
square
#1E083B #3B080C #253B08 #083B37
split-complementary
#1E083B #3B3708 #0C3B08
monochromatic
#0E041B #0E041B #1E083B #390F71 #5517A7

Accessibility & contrast

On white

18.21
#1E083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1E083B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E083B
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E083B#FFFFFF#000000##FFFFFF
##1E083B1.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00153A
Tritanopia (blue-blind)
#171521
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1e083b;
/* rgb */ color: rgb(30, 8, 59);
/* oklch */ color: oklch(20.8% 0.091 297.5);
Tailwind
colors: {
  custom: {
    50: '#5d4a71',
    500: '#1e083b',
    950: '#000000',
  },
}
SCSS
$custom: #1e083b;
$custom-light: #5d4a71;
$custom-dark: #000000;
JSON
{
  "hex": "#1e083b",
  "rgb": {
    "r": 30,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 265.882,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.20806,
    "c": 0.091,
    "h": 297.5
  },
  "luminance": 0.00765
}

Semantic roles & 50–950 ramp

primary
#1E083B
secondary
#557A25
accent
#F335A1
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040108
muted
#79777B

Preview Lab

Preview with #1E083B

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

Preview Lab → · Contrast checker → · Palette generator →

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