#1C1927#1C1927

#1C1927 is a very dark, muted violet. Relative luminance 0.011; OKLCH L 22.4% C 0.027 H 293.9°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#1C1927
RGBrgb(28, 25, 39)
HSLhsl(253, 22%, 13%)
HSVhsv(253, 36%, 15%)
CMYKcmyk(28.2%, 35.9%, 0%, 84.7%)
CIE-LABlab(9.71, 5.37, -9.02)
CIE-LCHlch(9.71, 10.50, 300.77°)
OKLaboklab(22.37% 0.011 -0.0249)
OKLCHoklch(22.37% 0.027 293.9)
XYZxyz(1.1926, 1.0886, 2.0664)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1927 #242719
analogous
#191D27 #1C1927 #231927
triadic
#1C1927 #271C19 #19271C
tetradic
#1C1927 #27191D #242719 #192723
square
#1C1927 #27191D #242719 #192723
split-complementary
#1C1927 #272319 #1D2719
monochromatic
#0D0C13 #0D0C13 #1C1927 #37314C #524972

Accessibility & contrast

On white

17.24
#1C1927 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1C1927 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1927
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1927#FFFFFF#000000##FFFFFF
##1C19271.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161B28
Deuteranopia (green-blind)
#161B27
Tritanopia (blue-blind)
#1A1B1E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1c1927;
/* rgb */ color: rgb(28, 25, 39);
/* oklch */ color: oklch(22.4% 0.027 293.9);
Tailwind
colors: {
  custom: {
    50: '#585561',
    500: '#1c1927',
    950: '#000000',
  },
}
SCSS
$custom: #1c1927;
$custom-light: #585561;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1927",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 39
  },
  "hsl": {
    "h": 252.857,
    "s": 21.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22369,
    "c": 0.0272,
    "h": 293.9
  },
  "luminance": 0.01089
}

Semantic roles & 50–950 ramp

primary
#1C1927
secondary
#555A42
accent
#BE69AC
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#030305
muted
#787879

Preview Lab

Preview with #1C1927

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

Preview Lab → · Contrast checker → · Palette generator →

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