#1C1926#1C1926

#1C1926 is a very dark, muted violet. Relative luminance 0.011; OKLCH L 22.3% C 0.025 H 294.8°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#1C1926
RGBrgb(28, 25, 38)
HSLhsl(254, 21%, 12%)
HSVhsv(254, 34%, 15%)
CMYKcmyk(26.3%, 34.2%, 0%, 85.1%)
CIE-LABlab(9.66, 5.06, -8.36)
CIE-LCHlch(9.66, 9.77, 301.20°)
OKLaboklab(22.31% 0.0106 -0.023)
OKLCHoklch(22.31% 0.025 294.8)
XYZxyz(1.1763, 1.0821, 1.9802)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1926 #232619
analogous
#191D26 #1C1926 #231926
triadic
#1C1926 #261C19 #19261C
tetradic
#1C1926 #26191D #232619 #192623
square
#1C1926 #26191D #232619 #192623
split-complementary
#1C1926 #262319 #1D2619
monochromatic
#0E0C12 #0E0C12 #1C1926 #37314B #524A70

Accessibility & contrast

On white

17.26
#1C1926 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C1926
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1926#FFFFFF#000000##FFFFFF
##1C19261.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c1926;
/* rgb */ color: rgb(28, 25, 38);
/* oklch */ color: oklch(22.3% 0.025 294.8);
Tailwind
colors: {
  custom: {
    50: '#585560',
    500: '#1c1926',
    950: '#000000',
  },
}
SCSS
$custom: #1c1926;
$custom-light: #585560;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1926",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 38
  },
  "hsl": {
    "h": 253.846,
    "s": 20.635,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22312,
    "c": 0.02532,
    "h": 294.8
  },
  "luminance": 0.01082
}

Semantic roles & 50–950 ramp

primary
#1C1926
secondary
#535942
accent
#BD6BAA
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#030304
muted
#787879

Preview Lab

Preview with #1C1926

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

Preview Lab → · Contrast checker → · Palette generator →

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