#1E162E#1E162E

#1E162E is a very dark, muted violet. Relative luminance 0.010; OKLCH L 22.3% C 0.047 H 297.9°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#1E162E
RGBrgb(30, 22, 46)
HSLhsl(260, 35%, 13%)
HSVhsv(260, 52%, 18%)
CMYKcmyk(34.8%, 52.2%, 0%, 82%)
CIE-LABlab(9.38, 10.66, -14.69)
CIE-LCHlch(9.38, 18.15, 305.96°)
OKLaboklab(22.31% 0.0218 -0.0411)
OKLCHoklch(22.31% 0.047 297.9)
XYZxyz(1.3154, 1.0471, 2.7170)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E162E #262E16
analogous
#161A2E #1E162E #2A162E
triadic
#1E162E #2E1E16 #162E1E
tetradic
#1E162E #2E161A #262E16 #162E2A
square
#1E162E #2E161A #262E16 #162E2A
split-complementary
#1E162E #2E2A16 #1A2E16
monochromatic
#0E0A15 #0E0A15 #1E162E #392A57 #543E81

Accessibility & contrast

On white

17.36
#1E162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E162E
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E162E#FFFFFF#000000##FFFFFF
##1E162E1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1A2F
Deuteranopia (green-blind)
#111A2D
Tritanopia (blue-blind)
#1B1A1F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1e162e;
/* rgb */ color: rgb(30, 22, 46);
/* oklch */ color: oklch(22.3% 0.047 297.9);
Tailwind
colors: {
  custom: {
    50: '#5a5367',
    500: '#1e162e',
    950: '#000000',
  },
}
SCSS
$custom: #1e162e;
$custom-light: #5a5367;
$custom-dark: #000000;
JSON
{
  "hex": "#1e162e",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 260,
    "s": 35.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22305,
    "c": 0.04652,
    "h": 297.9
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#1E162E
secondary
#56643C
accent
#CB5CA6
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #1E162E

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

Preview Lab → · Contrast checker → · Palette generator →

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