#1E182E#1E182E

#1E182E is a very dark, muted violet. Relative luminance 0.011; OKLCH L 22.8% C 0.042 H 295.4°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#1E182E
RGBrgb(30, 24, 46)
HSLhsl(256, 31%, 14%)
HSVhsv(256, 48%, 18%)
CMYKcmyk(34.8%, 47.8%, 0%, 82%)
CIE-LABlab(10.00, 9.16, -13.71)
CIE-LCHlch(10.00, 16.48, 303.74°)
OKLaboklab(22.78% 0.0182 -0.0383)
OKLCHoklch(22.78% 0.042 295.4)
XYZxyz(1.3551, 1.1265, 2.7303)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E182E #282E18
analogous
#181D2E #1E182E #29182E
triadic
#1E182E #2E1E18 #182E1E
tetradic
#1E182E #2E181D #282E18 #182E29
square
#1E182E #2E181D #282E18 #182E29
split-complementary
#1E182E #2E2918 #1D2E18
monochromatic
#0D0A14 #0D0A14 #1E182E #382D56 #52427E

Accessibility & contrast

On white

17.14
#1E182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1E182E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E182E
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E182E#FFFFFF#000000##FFFFFF
##1E182E1.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121C2F
Deuteranopia (green-blind)
#131B2D
Tritanopia (blue-blind)
#1B1C20
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1e182e;
/* rgb */ color: rgb(30, 24, 46);
/* oklch */ color: oklch(22.8% 0.042 295.4);
Tailwind
colors: {
  custom: {
    50: '#5a5466',
    500: '#1e182e',
    950: '#000000',
  },
}
SCSS
$custom: #1e182e;
$custom-light: #5a5466;
$custom-dark: #000000;
JSON
{
  "hex": "#1e182e",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 256.364,
    "s": 31.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2278,
    "c": 0.04236,
    "h": 295.4
  },
  "luminance": 0.01127
}

Semantic roles & 50–950 ramp

primary
#1E182E
secondary
#59633F
accent
#C860AB
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #1E182E

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

Preview Lab → · Contrast checker → · Palette generator →

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