#1C012B#1C012B

#1C012B is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.6% C 0.085 H 310.6°. Best body text is #FFFFFF at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#1C012B
RGBrgb(28, 1, 43)
HSLhsl(279, 95%, 9%)
HSVhsv(279, 98%, 17%)
CMYKcmyk(34.9%, 97.7%, 0%, 83.1%)
CIE-LABlab(4.00, 20.56, -20.98)
CIE-LCHlch(4.00, 29.37, 314.43°)
OKLaboklab(17.57% 0.0551 -0.0643)
OKLCHoklch(17.57% 0.085 310.6)
XYZxyz(0.9257, 0.4430, 2.3218)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C012B #102B01
analogous
#07012B #1C012B #2B0125
triadic
#1C012B #2B1C01 #012B1C
tetradic
#1C012B #2B0701 #102B01 #01252B
square
#1C012B #2B0701 #102B01 #01252B
split-complementary
#1C012B #252B01 #012B07
monochromatic
#13011E #13011E #1C012B #430267 #6A04A3

Accessibility & contrast

On white

19.29
#1C012B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C012B
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C012B#FFFFFF#000000##FFFFFF
##1C012B1.0019.291.0919.29
#FFFFFF19.291.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2C
Deuteranopia (green-blind)
#000F2A
Tritanopia (blue-blind)
#1A0A15
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1c012b;
/* rgb */ color: rgb(28, 1, 43);
/* oklch */ color: oklch(17.6% 0.085 310.6);
Tailwind
colors: {
  custom: {
    50: '#594664',
    500: '#1c012b',
    950: '#000000',
  },
}
SCSS
$custom: #1c012b;
$custom-light: #594664;
$custom-dark: #000000;
JSON
{
  "hex": "#1c012b",
  "rgb": {
    "r": 28,
    "g": 1,
    "b": 43
  },
  "hsl": {
    "h": 278.571,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.17565,
    "c": 0.08467,
    "h": 310.6
  },
  "luminance": 0.00443
}

Semantic roles & 50–950 ramp

primary
#1C012B
secondary
#377117
accent
#FF2975
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040005
muted
#79777A

Preview Lab

Preview with #1C012B

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

Preview Lab → · Contrast checker → · Palette generator →

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