#1C0026#1C0026

#1C0026 is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 16.8% C 0.082 H 316.2°. Best body text is #FFFFFF at 19.49:1 contrast (WCAG AA passes).

Color values

HEX#1C0026
RGBrgb(28, 0, 38)
HSLhsl(284, 100%, 7%)
HSVhsv(284, 100%, 15%)
CMYKcmyk(26.3%, 100%, 0%, 85.1%)
CIE-LABlab(3.49, 18.88, -17.94)
CIE-LCHlch(3.49, 26.04, 316.47°)
OKLaboklab(16.83% 0.0594 -0.057)
OKLCHoklch(16.83% 0.082 316.2)
XYZxyz(0.8287, 0.3869, 1.8644)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0026 #0A2600
analogous
#090026 #1C0026 #26001D
triadic
#1C0026 #261C00 #00261C
tetradic
#1C0026 #260900 #0A2600 #001D26
square
#1C0026 #260900 #0A2600 #001D26
split-complementary
#1C0026 #1D2600 #002609
monochromatic
#17001F #17001F #1C0026 #490063 #7600A0

Accessibility & contrast

On white

19.49
#1C0026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#1C0026 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0026
19.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0026#FFFFFF#000000##FFFFFF
##1C00261.0019.491.0819.49
#FFFFFF19.491.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B27
Deuteranopia (green-blind)
#000D25
Tritanopia (blue-blind)
#1B0612
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #1c0026;
/* rgb */ color: rgb(28, 0, 38);
/* oklch */ color: oklch(16.8% 0.082 316.2);
Tailwind
colors: {
  custom: {
    50: '#584660',
    500: '#1c0026',
    950: '#000000',
  },
}
SCSS
$custom: #1c0026;
$custom-light: #584660;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0026",
  "rgb": {
    "r": 28,
    "g": 0,
    "b": 38
  },
  "hsl": {
    "h": 284.211,
    "s": 100,
    "l": 7.451
  },
  "oklch": {
    "l": 0.16825,
    "c": 0.08235,
    "h": 316.2
  },
  "luminance": 0.00387
}

Semantic roles & 50–950 ramp

primary
#1C0026
secondary
#2B6E13
accent
#FF2961
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#030005
muted
#787779

Preview Lab

Preview with #1C0026

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

Preview Lab → · Contrast checker → · Palette generator →

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