#1C0127#1C0127

#1C0127 is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 17.2% C 0.081 H 314.7°. Best body text is #FFFFFF at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#1C0127
RGBrgb(28, 1, 39)
HSLhsl(283, 95%, 8%)
HSVhsv(283, 97%, 15%)
CMYKcmyk(28.2%, 97.4%, 0%, 84.7%)
CIE-LABlab(3.75, 18.90, -18.31)
CIE-LCHlch(3.75, 26.31, 315.90°)
OKLaboklab(17.16% 0.0566 -0.0572)
OKLCHoklch(17.16% 0.081 314.7)
XYZxyz(0.8559, 0.4151, 1.9541)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0127 #0C2701
analogous
#090127 #1C0127 #27011F
triadic
#1C0127 #271C01 #01271C
tetradic
#1C0127 #270901 #0C2701 #011F27
square
#1C0127 #270901 #0C2701 #011F27
split-complementary
#1C0127 #1F2701 #012709
monochromatic
#15011E #15011E #1C0127 #470363 #72049E

Accessibility & contrast

On white

19.39
#1C0127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0127
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0127#FFFFFF#000000##FFFFFF
##1C01271.0019.391.0819.39
#FFFFFF19.391.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C28
Deuteranopia (green-blind)
#000E26
Tritanopia (blue-blind)
#1B0813
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #1c0127;
/* rgb */ color: rgb(28, 1, 39);
/* oklch */ color: oklch(17.2% 0.081 314.7);
Tailwind
colors: {
  custom: {
    50: '#584661',
    500: '#1c0127',
    950: '#000000',
  },
}
SCSS
$custom: #1c0127;
$custom-light: #584661;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0127",
  "rgb": {
    "r": 28,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 282.632,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17155,
    "c": 0.08051,
    "h": 314.7
  },
  "luminance": 0.00415
}

Semantic roles & 50–950 ramp

primary
#1C0127
secondary
#2F6E16
accent
#FF2967
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#030005
muted
#787779

Preview Lab

Preview with #1C0127

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

Preview Lab → · Contrast checker → · Palette generator →

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