#10072C#10072C

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

Color values

HEX#10072C
RGBrgb(16, 7, 44)
HSLhsl(255, 73%, 10%)
HSVhsv(255, 84%, 17%)
CMYKcmyk(63.6%, 84.1%, 0%, 82.7%)
CIE-LABlab(4.01, 13.20, -21.80)
CIE-LCHlch(4.01, 25.49, 301.20°)
OKLaboklab(17.18% 0.0219 -0.0673)
OKLCHoklch(17.18% 0.071 288)
XYZxyz(0.7442, 0.4439, 2.4289)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10072C #232C07
analogous
#07102C #10072C #23072C
triadic
#10072C #2C1007 #072C10
tetradic
#10072C #2C0710 #232C07 #072C23
square
#10072C #2C0710 #232C07 #072C23
split-complementary
#10072C #2C2307 #102C07
monochromatic
#0A041A #0A041A #10072C #230F61 #361896

Accessibility & contrast

On white

19.29
#10072C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#10072C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##10072C#FFFFFF#000000##FFFFFF
##10072C1.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)
#000F2D
Deuteranopia (green-blind)
#000D2B
Tritanopia (blue-blind)
#061018
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #10072c;
/* rgb */ color: rgb(16, 7, 44);
/* oklch */ color: oklch(17.2% 0.071 288.0);
Tailwind
colors: {
  custom: {
    50: '#504965',
    500: '#10072c',
    950: '#000000',
  },
}
SCSS
$custom: #10072c;
$custom-light: #504965;
$custom-dark: #000000;
JSON
{
  "hex": "#10072c",
  "rgb": {
    "r": 16,
    "g": 7,
    "b": 44
  },
  "hsl": {
    "h": 254.595,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.17181,
    "c": 0.07075,
    "h": 288
  },
  "luminance": 0.00444
}

Semantic roles & 50–950 ramp

primary
#10072C
secondary
#5A6C23
accent
#EF39C3
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020105
muted
#78777A

Preview Lab

Preview with #10072C

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

Preview Lab → · Contrast checker → · Palette generator →

#10072C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva