#1C012E#1C012E

#1C012E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.088 H 307.8°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#1C012E
RGBrgb(28, 1, 46)
HSLhsl(276, 96%, 9%)
HSVhsv(276, 98%, 18%)
CMYKcmyk(39.1%, 97.8%, 0%, 82%)
CIE-LABlab(4.21, 21.82, -22.92)
CIE-LCHlch(4.21, 31.65, 313.60°)
OKLaboklab(17.89% 0.0539 -0.0694)
OKLCHoklch(17.89% 0.088 307.8)
XYZxyz(0.9828, 0.4659, 2.6224)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C012E #132E01
analogous
#06012E #1C012E #2E012A
triadic
#1C012E #2E1C01 #012E1C
tetradic
#1C012E #2E0601 #132E01 #012A2E
square
#1C012E #2E0601 #132E01 #012A2E
split-complementary
#1C012E #2A2E01 #012E06
monochromatic
#12011E #12011E #1C012E #40026A #6504A6

Accessibility & contrast

On white

19.21
#1C012E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C012E
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C012E#FFFFFF#000000##FFFFFF
##1C012E1.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2F
Deuteranopia (green-blind)
#000F2D
Tritanopia (blue-blind)
#190B17
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1c012e;
/* rgb */ color: rgb(28, 1, 46);
/* oklch */ color: oklch(17.9% 0.088 307.8);
Tailwind
colors: {
  custom: {
    50: '#5a4667',
    500: '#1c012e',
    950: '#000000',
  },
}
SCSS
$custom: #1c012e;
$custom-light: #5a4667;
$custom-dark: #000000;
JSON
{
  "hex": "#1c012e",
  "rgb": {
    "r": 28,
    "g": 1,
    "b": 46
  },
  "hsl": {
    "h": 276,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.17885,
    "c": 0.08783,
    "h": 307.8
  },
  "luminance": 0.00466
}

Semantic roles & 50–950 ramp

primary
#1C012E
secondary
#3C7417
accent
#FF297E
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1C012E

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

Preview Lab → · Contrast checker → · Palette generator →

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