#1C162A#1C162A

#1C162A is a very dark, muted violet. Relative luminance 0.010; OKLCH L 21.8% C 0.039 H 296.8°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#1C162A
RGBrgb(28, 22, 42)
HSLhsl(258, 31%, 13%)
HSVhsv(258, 48%, 16%)
CMYKcmyk(33.3%, 47.6%, 0%, 83.5%)
CIE-LABlab(8.89, 8.61, -12.52)
CIE-LCHlch(8.89, 15.19, 304.51°)
OKLaboklab(21.8% 0.0177 -0.0349)
OKLCHoklch(21.8% 0.039 296.8)
XYZxyz(1.1836, 0.9879, 2.3184)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C162A #242A16
analogous
#161A2A #1C162A #26162A
triadic
#1C162A #2A1C16 #162A1C
tetradic
#1C162A #2A161A #242A16 #162A26
square
#1C162A #2A161A #242A16 #162A26
split-complementary
#1C162A #2A2616 #1A2A16
monochromatic
#0D0B14 #0D0B14 #1C162A #372B52 #52407A

Accessibility & contrast

On white

17.54
#1C162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C162A
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C162A#FFFFFF#000000##FFFFFF
##1C162A1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11192B
Deuteranopia (green-blind)
#121929
Tritanopia (blue-blind)
#19191E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1c162a;
/* rgb */ color: rgb(28, 22, 42);
/* oklch */ color: oklch(21.8% 0.039 296.8);
Tailwind
colors: {
  custom: {
    50: '#585363',
    500: '#1c162a',
    950: '#000000',
  },
}
SCSS
$custom: #1c162a;
$custom-light: #585363;
$custom-dark: #000000;
JSON
{
  "hex": "#1c162a",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 258,
    "s": 31.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21798,
    "c": 0.0391,
    "h": 296.8
  },
  "luminance": 0.00988
}

Semantic roles & 50–950 ramp

primary
#1C162A
secondary
#555F3D
accent
#C760A9
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#030205
muted
#787879

Preview Lab

Preview with #1C162A

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

Preview Lab → · Contrast checker → · Palette generator →

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