#10072B#10072B

#10072B is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.1% C 0.069 H 288.6°. Best body text is #FFFFFF at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#10072B
RGBrgb(16, 7, 43)
HSLhsl(255, 72%, 10%)
HSVhsv(255, 84%, 17%)
CMYKcmyk(62.8%, 83.7%, 0%, 83.1%)
CIE-LABlab(3.94, 12.73, -21.15)
CIE-LCHlch(3.94, 24.68, 301.04°)
OKLaboklab(17.07% 0.0221 -0.0656)
OKLCHoklch(17.07% 0.069 288.6)
XYZxyz(0.7256, 0.4365, 2.3311)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10072B #222B07
analogous
#07102B #10072B #22072B
triadic
#10072B #2B1007 #072B10
tetradic
#10072B #2B0710 #222B07 #072B22
square
#10072B #2B0710 #222B07 #072B22
split-complementary
#10072B #2B2207 #102B07
monochromatic
#0A041A #0A041A #10072B #241060 #371894

Accessibility & contrast

On white

19.31
#10072B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10072B
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10072B#FFFFFF#000000##FFFFFF
##10072B1.0019.311.0919.31
#FFFFFF19.311.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2C
Deuteranopia (green-blind)
#000D2A
Tritanopia (blue-blind)
#071017
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #10072b;
/* rgb */ color: rgb(16, 7, 43);
/* oklch */ color: oklch(17.1% 0.069 288.6);
Tailwind
colors: {
  custom: {
    50: '#504964',
    500: '#10072b',
    950: '#000000',
  },
}
SCSS
$custom: #10072b;
$custom-light: #504964;
$custom-dark: #000000;
JSON
{
  "hex": "#10072b",
  "rgb": {
    "r": 16,
    "g": 7,
    "b": 43
  },
  "hsl": {
    "h": 255,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17071,
    "c": 0.06919,
    "h": 288.6
  },
  "luminance": 0.00437
}

Semantic roles & 50–950 ramp

primary
#10072B
secondary
#596B23
accent
#EF39C1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #10072B

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

Preview Lab → · Contrast checker → · Palette generator →

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