#1C002B#1C002B

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

Color values

HEX#1C002B
RGBrgb(28, 0, 43)
HSLhsl(279, 100%, 8%)
HSVhsv(279, 100%, 17%)
CMYKcmyk(34.9%, 100%, 0%, 83.1%)
CIE-LABlab(3.81, 20.99, -21.28)
CIE-LCHlch(3.81, 29.89, 314.60°)
OKLaboklab(17.35% 0.0573 -0.0657)
OKLCHoklch(17.35% 0.087 311.1)
XYZxyz(0.9148, 0.4213, 2.3182)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C002B #0F2B00
analogous
#06002B #1C002B #2B0024
triadic
#1C002B #2B1C00 #002B1C
tetradic
#1C002B #2B0600 #0F2B00 #00242B
square
#1C002B #2B0600 #0F2B00 #00242B
split-complementary
#1C002B #242B00 #002B06
monochromatic
#14001F #14001F #1C002B #440068 #6C00A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C002B#FFFFFF#000000##FFFFFF
##1C002B1.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)
#000C2C
Deuteranopia (green-blind)
#000E2A
Tritanopia (blue-blind)
#1A0915
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1c002b;
/* rgb */ color: rgb(28, 0, 43);
/* oklch */ color: oklch(17.3% 0.087 311.1);
Tailwind
colors: {
  custom: {
    50: '#594664',
    500: '#1c002b',
    950: '#000000',
  },
}
SCSS
$custom: #1c002b;
$custom-light: #594664;
$custom-dark: #000000;
JSON
{
  "hex": "#1c002b",
  "rgb": {
    "r": 28,
    "g": 0,
    "b": 43
  },
  "hsl": {
    "h": 279.07,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.17348,
    "c": 0.08723,
    "h": 311.1
  },
  "luminance": 0.00421
}

Semantic roles & 50–950 ramp

primary
#1C002B
secondary
#357314
accent
#FF2974
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040005
muted
#79777A

Preview Lab

Preview with #1C002B

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

Preview Lab → · Contrast checker → · Palette generator →

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