#1C0128#1C0128

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

Color values

HEX#1C0128
RGBrgb(28, 1, 40)
HSLhsl(282, 95%, 8%)
HSVhsv(282, 98%, 16%)
CMYKcmyk(30%, 97.5%, 0%, 84.3%)
CIE-LABlab(3.81, 19.31, -18.99)
CIE-LCHlch(3.81, 27.08, 315.49°)
OKLaboklab(17.26% 0.0563 -0.059)
OKLCHoklch(17.26% 0.082 313.6)
XYZxyz(0.8727, 0.4218, 2.0425)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0128 #0D2801
analogous
#080128 #1C0128 #280120
triadic
#1C0128 #281C01 #01281C
tetradic
#1C0128 #280801 #0D2801 #012028
square
#1C0128 #280801 #0D2801 #012028
split-complementary
#1C0128 #202801 #012808
monochromatic
#15011E #15011E #1C0128 #460264 #70049F

Accessibility & contrast

On white

19.37
#1C0128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0128
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0128#FFFFFF#000000##FFFFFF
##1C01281.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C29
Deuteranopia (green-blind)
#000E27
Tritanopia (blue-blind)
#1B0813
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1c0128;
/* rgb */ color: rgb(28, 1, 40);
/* oklch */ color: oklch(17.3% 0.082 313.6);
Tailwind
colors: {
  custom: {
    50: '#584662',
    500: '#1c0128',
    950: '#000000',
  },
}
SCSS
$custom: #1c0128;
$custom-light: #584662;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0128",
  "rgb": {
    "r": 28,
    "g": 1,
    "b": 40
  },
  "hsl": {
    "h": 281.538,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.17255,
    "c": 0.08155,
    "h": 313.6
  },
  "luminance": 0.00422
}

Semantic roles & 50–950 ramp

primary
#1C0128
secondary
#316F16
accent
#FF296B
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#030005
muted
#787779

Preview Lab

Preview with #1C0128

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

Preview Lab → · Contrast checker → · Palette generator →

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