#1C072D#1C072D

#1C072D is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.074 H 305.9°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#1C072D
RGBrgb(28, 7, 45)
HSLhsl(273, 73%, 10%)
HSVhsv(273, 84%, 18%)
CMYKcmyk(37.8%, 84.4%, 0%, 82.4%)
CIE-LABlab(5.31, 18.72, -20.41)
CIE-LCHlch(5.31, 27.69, 312.52°)
OKLaboklab(18.95% 0.0433 -0.0598)
OKLCHoklch(18.95% 0.074 305.9)
XYZxyz(1.0284, 0.5883, 2.5415)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C072D #182D07
analogous
#09072D #1C072D #2D072B
triadic
#1C072D #2D1C07 #072D1C
tetradic
#1C072D #2D0907 #182D07 #072B2D
square
#1C072D #2D0907 #182D07 #072B2D
split-complementary
#1C072D #2B2D07 #072D09
monochromatic
#10041A #10041A #1C072D #3D0F62 #5E1797

Accessibility & contrast

On white

18.79
#1C072D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1C072D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C072D
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C072D#FFFFFF#000000##FFFFFF
##1C072D1.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112E
Deuteranopia (green-blind)
#00122C
Tritanopia (blue-blind)
#190F19
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1c072d;
/* rgb */ color: rgb(28, 7, 45);
/* oklch */ color: oklch(19.0% 0.074 305.9);
Tailwind
colors: {
  custom: {
    50: '#594966',
    500: '#1c072d',
    950: '#000000',
  },
}
SCSS
$custom: #1c072d;
$custom-light: #594966;
$custom-dark: #000000;
JSON
{
  "hex": "#1c072d",
  "rgb": {
    "r": 28,
    "g": 7,
    "b": 45
  },
  "hsl": {
    "h": 273.158,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18951,
    "c": 0.07381,
    "h": 305.9
  },
  "luminance": 0.00588
}

Semantic roles & 50–950 ramp

primary
#1C072D
secondary
#446D23
accent
#F0388A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1C072D

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

Preview Lab → · Contrast checker → · Palette generator →

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