#1E113E#1E113E

#1E113E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.082 H 291.8°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#1E113E
RGBrgb(30, 17, 62)
HSLhsl(257, 57%, 15%)
HSVhsv(257, 73%, 24%)
CMYKcmyk(51.6%, 72.6%, 0%, 75.7%)
CIE-LABlab(9.20, 19.68, -26.57)
CIE-LCHlch(9.20, 33.06, 306.53°)
OKLaboklab(22.56% 0.0304 -0.0759)
OKLCHoklch(22.56% 0.082 291.8)
XYZxyz(1.6051, 1.0247, 4.6697)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E113E #313E11
analogous
#111A3E #1E113E #34113E
triadic
#1E113E #3E1E11 #113E1E
tetradic
#1E113E #3E111A #313E11 #113E34
square
#1E113E #3E111A #313E11 #113E34
split-complementary
#1E113E #3E3411 #1A3E11
monochromatic
#0C0718 #0C0718 #1E113E #351E6E #4C2B9E

Accessibility & contrast

On white

17.43
#1E113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#1E113E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E113E
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E113E#FFFFFF#000000##FFFFFF
##1E113E1.0017.431.2117.43
#FFFFFF17.431.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#151C25
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1e113e;
/* rgb */ color: rgb(30, 17, 62);
/* oklch */ color: oklch(22.6% 0.082 291.8);
Tailwind
colors: {
  custom: {
    50: '#5d4f74',
    500: '#1e113e',
    950: '#000000',
  },
}
SCSS
$custom: #1e113e;
$custom-light: #5d4f74;
$custom-dark: #000000;
JSON
{
  "hex": "#1e113e",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 257.333,
    "s": 56.962,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22564,
    "c": 0.08179,
    "h": 291.8
  },
  "luminance": 0.01025
}

Semantic roles & 50–950 ramp

primary
#1E113E
secondary
#647733
accent
#E048B4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #1E113E

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

Preview Lab → · Contrast checker → · Palette generator →

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