#10072A#10072A

#10072A is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.0% C 0.068 H 289.3°. Best body text is #FFFFFF at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#10072A
RGBrgb(16, 7, 42)
HSLhsl(255, 71%, 10%)
HSVhsv(255, 83%, 16%)
CMYKcmyk(61.9%, 83.3%, 0%, 83.5%)
CIE-LABlab(3.88, 12.27, -20.49)
CIE-LCHlch(3.88, 23.88, 300.90°)
OKLaboklab(16.96% 0.0223 -0.0638)
OKLCHoklch(16.96% 0.068 289.3)
XYZxyz(0.7075, 0.4293, 2.2356)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10072A #212A07
analogous
#070F2A #10072A #22072A
triadic
#10072A #2A1007 #072A10
tetradic
#10072A #2A070F #212A07 #072A22
square
#10072A #2A070F #212A07 #072A22
split-complementary
#10072A #2A2207 #0F2A07
monochromatic
#0A041A #0A041A #10072A #24105E #381893

Accessibility & contrast

On white

19.34
#10072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10072A
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10072A#FFFFFF#000000##FFFFFF
##10072A1.0019.341.0919.34
#FFFFFF19.341.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #10072a;
/* rgb */ color: rgb(16, 7, 42);
/* oklch */ color: oklch(17.0% 0.068 289.3);
Tailwind
colors: {
  custom: {
    50: '#4f4964',
    500: '#10072a',
    950: '#000000',
  },
}
SCSS
$custom: #10072a;
$custom-light: #4f4964;
$custom-dark: #000000;
JSON
{
  "hex": "#10072a",
  "rgb": {
    "r": 16,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 255.429,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16963,
    "c": 0.06763,
    "h": 289.3
  },
  "luminance": 0.00429
}

Semantic roles & 50–950 ramp

primary
#10072A
secondary
#576A23
accent
#EE3AC0
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #10072A

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

Preview Lab → · Contrast checker → · Palette generator →

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