#1C162C#1C162C

#1C162C is a very dark, muted violet. Relative luminance 0.010; OKLCH L 21.9% C 0.043 H 295.2°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#1C162C
RGBrgb(28, 22, 44)
HSLhsl(256, 33%, 13%)
HSVhsv(256, 50%, 17%)
CMYKcmyk(36.4%, 50%, 0%, 82.7%)
CIE-LABlab(9.01, 9.27, -13.81)
CIE-LCHlch(9.01, 16.63, 303.87°)
OKLaboklab(21.93% 0.0182 -0.0386)
OKLCHoklch(21.93% 0.043 295.2)
XYZxyz(1.2203, 1.0025, 2.5116)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C162C #262C16
analogous
#161B2C #1C162C #27162C
triadic
#1C162C #2C1C16 #162C1C
tetradic
#1C162C #2C161B #262C16 #162C27
square
#1C162C #2C161B #262C16 #162C27
split-complementary
#1C162C #2C2716 #1B2C16
monochromatic
#0D0A14 #0D0A14 #1C162C #362A55 #503F7E

Accessibility & contrast

On white

17.49
#1C162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C162C
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C162C#FFFFFF#000000##FFFFFF
##1C162C1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101A2D
Deuteranopia (green-blind)
#11192B
Tritanopia (blue-blind)
#191A1E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1c162c;
/* rgb */ color: rgb(28, 22, 44);
/* oklch */ color: oklch(21.9% 0.043 295.2);
Tailwind
colors: {
  custom: {
    50: '#595365',
    500: '#1c162c',
    950: '#000000',
  },
}
SCSS
$custom: #1c162c;
$custom-light: #595365;
$custom-dark: #000000;
JSON
{
  "hex": "#1c162c",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 256.364,
    "s": 33.333,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21931,
    "c": 0.04268,
    "h": 295.2
  },
  "luminance": 0.01003
}

Semantic roles & 50–950 ramp

primary
#1C162C
secondary
#57613C
accent
#C95EAC
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030205
muted
#78787A

Preview Lab

Preview with #1C162C

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

Preview Lab → · Contrast checker → · Palette generator →

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