#1C072E#1C072E

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

Color values

HEX#1C072E
RGBrgb(28, 7, 46)
HSLhsl(272, 74%, 10%)
HSVhsv(272, 85%, 18%)
CMYKcmyk(39.1%, 84.8%, 0%, 82%)
CIE-LABlab(5.38, 19.11, -21.05)
CIE-LCHlch(5.38, 28.43, 312.24°)
OKLaboklab(19.05% 0.0431 -0.0615)
OKLCHoklch(19.05% 0.075 305)
XYZxyz(1.0479, 0.5961, 2.6441)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C072E #192E07
analogous
#09072E #1C072E #2E072C
triadic
#1C072E #2E1C07 #072E1C
tetradic
#1C072E #2E0907 #192E07 #072C2E
square
#1C072E #2E0907 #192E07 #072C2E
split-complementary
#1C072E #2C2E07 #072E09
monochromatic
#10041B #10041B #1C072E #3C0F63 #5D1798

Accessibility & contrast

On white

18.76
#1C072E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C072E
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C072E#FFFFFF#000000##FFFFFF
##1C072E1.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112F
Deuteranopia (green-blind)
#00122D
Tritanopia (blue-blind)
#191019
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1c072e;
/* rgb */ color: rgb(28, 7, 46);
/* oklch */ color: oklch(19.0% 0.075 305.0);
Tailwind
colors: {
  custom: {
    50: '#5a4967',
    500: '#1c072e',
    950: '#000000',
  },
}
SCSS
$custom: #1c072e;
$custom-light: #5a4967;
$custom-dark: #000000;
JSON
{
  "hex": "#1c072e",
  "rgb": {
    "r": 28,
    "g": 7,
    "b": 46
  },
  "hsl": {
    "h": 272.308,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19046,
    "c": 0.07514,
    "h": 305
  },
  "luminance": 0.00596
}

Semantic roles & 50–950 ramp

primary
#1C072E
secondary
#466E23
accent
#F0388D
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1C072E

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

Preview Lab → · Contrast checker → · Palette generator →

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