#1E113D#1E113D

#1E113D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.080 H 292.3°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#1E113D
RGBrgb(30, 17, 61)
HSLhsl(258, 56%, 15%)
HSVhsv(258, 72%, 24%)
CMYKcmyk(50.8%, 72.1%, 0%, 76.1%)
CIE-LABlab(9.11, 19.34, -26.00)
CIE-LCHlch(9.11, 32.40, 306.64°)
OKLaboklab(22.47% 0.0305 -0.0743)
OKLCHoklch(22.47% 0.08 292.3)
XYZxyz(1.5779, 1.0138, 4.5265)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E113D #303D11
analogous
#111A3D #1E113D #34113D
triadic
#1E113D #3D1E11 #113D1E
tetradic
#1E113D #3D111A #303D11 #113D34
square
#1E113D #3D111A #303D11 #113D34
split-complementary
#1E113D #3D3411 #1A3D11
monochromatic
#0C0718 #0C0718 #1E113D #361E6D #4D2C9D

Accessibility & contrast

On white

17.46
#1E113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1E113D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E113D
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E113D#FFFFFF#000000##FFFFFF
##1E113D1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3E
Deuteranopia (green-blind)
#00193C
Tritanopia (blue-blind)
#151B25
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1e113d;
/* rgb */ color: rgb(30, 17, 61);
/* oklch */ color: oklch(22.5% 0.080 292.3);
Tailwind
colors: {
  custom: {
    50: '#5d4f73',
    500: '#1e113d',
    950: '#000000',
  },
}
SCSS
$custom: #1e113d;
$custom-light: #5d4f73;
$custom-dark: #000000;
JSON
{
  "hex": "#1e113d",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 257.727,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22471,
    "c": 0.08027,
    "h": 292.3
  },
  "luminance": 0.01014
}

Semantic roles & 50–950 ramp

primary
#1E113D
secondary
#637633
accent
#E048B3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #1E113D

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

Preview Lab → · Contrast checker → · Palette generator →

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