#1C142A#1C142A

#1C142A is a very dark, muted violet. Relative luminance 0.009; OKLCH L 21.3% C 0.043 H 299.5°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#1C142A
RGBrgb(28, 20, 42)
HSLhsl(262, 35%, 12%)
HSVhsv(262, 52%, 16%)
CMYKcmyk(33.3%, 52.4%, 0%, 83.5%)
CIE-LABlab(8.26, 10.13, -13.51)
CIE-LCHlch(8.26, 16.89, 306.86°)
OKLaboklab(21.32% 0.0213 -0.0378)
OKLCHoklch(21.32% 0.043 299.5)
XYZxyz(1.1469, 0.9143, 2.3061)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C142A #222A14
analogous
#14172A #1C142A #27142A
triadic
#1C142A #2A1C14 #142A1C
tetradic
#1C142A #2A1417 #222A14 #142A27
square
#1C142A #2A1417 #222A14 #142A27
split-complementary
#1C142A #2A2714 #172A14
monochromatic
#0E0A15 #0E0A15 #1C142A #382853 #533B7D

Accessibility & contrast

On white

17.75
#1C142A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1C142A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C142A
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C142A#FFFFFF#000000##FFFFFF
##1C142A1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E182B
Deuteranopia (green-blind)
#101829
Tritanopia (blue-blind)
#19181C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1c142a;
/* rgb */ color: rgb(28, 20, 42);
/* oklch */ color: oklch(21.3% 0.043 299.5);
Tailwind
colors: {
  custom: {
    50: '#595163',
    500: '#1c142a',
    950: '#000000',
  },
}
SCSS
$custom: #1c142a;
$custom-light: #595163;
$custom-dark: #000000;
JSON
{
  "hex": "#1c142a",
  "rgb": {
    "r": 28,
    "g": 20,
    "b": 42
  },
  "hsl": {
    "h": 261.818,
    "s": 35.484,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21318,
    "c": 0.04337,
    "h": 299.5
  },
  "luminance": 0.00914
}

Semantic roles & 50–950 ramp

primary
#1C142A
secondary
#52603A
accent
#CC5CA3
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#030205
muted
#787879

Preview Lab

Preview with #1C142A

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

Preview Lab → · Contrast checker → · Palette generator →

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