#1C162E#1C162E

#1C162E is a very dark, muted violet. Relative luminance 0.010; OKLCH L 22.1% C 0.046 H 293.8°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#1C162E
RGBrgb(28, 22, 46)
HSLhsl(255, 35%, 13%)
HSVhsv(255, 52%, 18%)
CMYKcmyk(39.1%, 52.2%, 0%, 82%)
CIE-LABlab(9.14, 9.94, -15.08)
CIE-LCHlch(9.14, 18.06, 303.38°)
OKLaboklab(22.07% 0.0186 -0.0423)
OKLCHoklch(22.07% 0.046 293.8)
XYZxyz(1.2588, 1.0179, 2.7144)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C162E #282E16
analogous
#161C2E #1C162E #28162E
triadic
#1C162E #2E1C16 #162E1C
tetradic
#1C162E #2E161C #282E16 #162E28
square
#1C162E #2E161C #282E16 #162E28
split-complementary
#1C162E #2E2816 #1C2E16
monochromatic
#0D0A15 #0D0A15 #1C162E #352A57 #4E3E81

Accessibility & contrast

On white

17.45
#1C162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C162E
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C162E#FFFFFF#000000##FFFFFF
##1C162E1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1A2F
Deuteranopia (green-blind)
#0F192D
Tritanopia (blue-blind)
#181A1F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1c162e;
/* rgb */ color: rgb(28, 22, 46);
/* oklch */ color: oklch(22.1% 0.046 293.8);
Tailwind
colors: {
  custom: {
    50: '#595367',
    500: '#1c162e',
    950: '#000000',
  },
}
SCSS
$custom: #1c162e;
$custom-light: #595367;
$custom-dark: #000000;
JSON
{
  "hex": "#1c162e",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 255,
    "s": 35.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22069,
    "c": 0.04624,
    "h": 293.8
  },
  "luminance": 0.01018
}

Semantic roles & 50–950 ramp

primary
#1C162E
secondary
#5A643C
accent
#CB5CB0
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030206
muted
#78787A

Preview Lab

Preview with #1C162E

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

Preview Lab → · Contrast checker → · Palette generator →

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