#1C1923#1C1923

#1C1923 is a very dark, near-neutral violet. Relative luminance 0.011; OKLCH L 22.1% C 0.020 H 298.5°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#1C1923
RGBrgb(28, 25, 35)
HSLhsl(258, 17%, 12%)
HSVhsv(258, 29%, 14%)
CMYKcmyk(20%, 28.6%, 0%, 86.3%)
CIE-LABlab(9.51, 4.16, -6.35)
CIE-LCHlch(9.51, 7.59, 303.19°)
OKLaboklab(22.15% 0.0094 -0.0173)
OKLCHoklch(22.15% 0.02 298.5)
XYZxyz(1.1298, 1.0635, 1.7355)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1923 #202319
analogous
#191B23 #1C1923 #211923
triadic
#1C1923 #231C19 #19231C
tetradic
#1C1923 #23191B #202319 #192321
square
#1C1923 #23191B #202319 #192321
split-complementary
#1C1923 #232119 #1B2319
monochromatic
#0E0D12 #0E0D12 #1C1923 #393347 #554C6A

Accessibility & contrast

On white

17.32
#1C1923 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#1C1923 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1923
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1923#FFFFFF#000000##FFFFFF
##1C19231.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171A23
Deuteranopia (green-blind)
#171A23
Tritanopia (blue-blind)
#1B1A1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1c1923;
/* rgb */ color: rgb(28, 25, 35);
/* oklch */ color: oklch(22.1% 0.020 298.5);
Tailwind
colors: {
  custom: {
    50: '#58555d',
    500: '#1c1923',
    950: '#000000',
  },
}
SCSS
$custom: #1c1923;
$custom-light: #58555d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1923",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 35
  },
  "hsl": {
    "h": 258,
    "s": 16.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22149,
    "c": 0.01971,
    "h": 298.5
  },
  "luminance": 0.01063
}

Semantic roles & 50–950 ramp

primary
#1C1923
secondary
#4F5543
accent
#B96EA3
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#030304
muted
#787879

Preview Lab

Preview with #1C1923

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

Preview Lab → · Contrast checker → · Palette generator →

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