#1C012A#1C012A

#1C012A is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.5% C 0.084 H 311.6°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#1C012A
RGBrgb(28, 1, 42)
HSLhsl(280, 95%, 8%)
HSVhsv(280, 98%, 16%)
CMYKcmyk(33.3%, 97.6%, 0%, 83.5%)
CIE-LABlab(3.94, 20.14, -20.32)
CIE-LCHlch(3.94, 28.61, 314.76°)
OKLaboklab(17.46% 0.0555 -0.0625)
OKLCHoklch(17.46% 0.084 311.6)
XYZxyz(0.9076, 0.4358, 2.2263)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C012A #0F2A01
analogous
#07012A #1C012A #2A0123
triadic
#1C012A #2A1C01 #012A1C
tetradic
#1C012A #2A0701 #0F2A01 #01232A
square
#1C012A #2A0701 #0F2A01 #01232A
split-complementary
#1C012A #232A01 #012A07
monochromatic
#14011E #14011E #1C012A #440266 #6C04A2

Accessibility & contrast

On white

19.32
#1C012A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#1C012A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C012A
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C012A#FFFFFF#000000##FFFFFF
##1C012A1.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2B
Deuteranopia (green-blind)
#000E29
Tritanopia (blue-blind)
#1A0915
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1c012a;
/* rgb */ color: rgb(28, 1, 42);
/* oklch */ color: oklch(17.5% 0.084 311.6);
Tailwind
colors: {
  custom: {
    50: '#594664',
    500: '#1c012a',
    950: '#000000',
  },
}
SCSS
$custom: #1c012a;
$custom-light: #594664;
$custom-dark: #000000;
JSON
{
  "hex": "#1c012a",
  "rgb": {
    "r": 28,
    "g": 1,
    "b": 42
  },
  "hsl": {
    "h": 279.512,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.1746,
    "c": 0.08363,
    "h": 311.6
  },
  "luminance": 0.00436
}

Semantic roles & 50–950 ramp

primary
#1C012A
secondary
#357016
accent
#FF2972
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#030005
muted
#787779

Preview Lab

Preview with #1C012A

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

Preview Lab → · Contrast checker → · Palette generator →

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