#10071F#10071F

#10071F is a very dark, muted violet. Relative luminance 0.004; OKLCH L 15.9% C 0.050 H 298.2°. Best body text is #FFFFFF at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#10071F
RGBrgb(16, 7, 31)
HSLhsl(263, 63%, 7%)
HSVhsv(263, 77%, 12%)
CMYKcmyk(48.4%, 77.4%, 0%, 87.8%)
CIE-LABlab(3.26, 7.94, -12.94)
CIE-LCHlch(3.26, 15.18, 301.53°)
OKLaboklab(15.86% 0.0235 -0.0439)
OKLCHoklch(15.86% 0.05 298.2)
XYZxyz(0.5369, 0.3610, 1.3375)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10071F #161F07
analogous
#070A1F #10071F #1C071F
triadic
#10071F #1F1007 #071F10
tetradic
#10071F #1F070A #161F07 #071F1C
square
#10071F #1F070A #161F07 #071F1C
split-complementary
#10071F #1F1C07 #0A1F07
monochromatic
#0D0619 #0D0619 #10071F #2A1251 #441E83

Accessibility & contrast

On white

19.59
#10071F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#10071F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10071F
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10071F#FFFFFF#000000##FFFFFF
##10071F1.0019.591.0719.59
#FFFFFF19.591.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010C20
Deuteranopia (green-blind)
#020C1E
Tritanopia (blue-blind)
#0D0C11
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #10071f;
/* rgb */ color: rgb(16, 7, 31);
/* oklch */ color: oklch(15.9% 0.050 298.2);
Tailwind
colors: {
  custom: {
    50: '#4e4a5a',
    500: '#10071f',
    950: '#000000',
  },
}
SCSS
$custom: #10071f;
$custom-light: #4e4a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#10071f",
  "rgb": {
    "r": 16,
    "g": 7,
    "b": 31
  },
  "hsl": {
    "h": 262.5,
    "s": 63.158,
    "l": 7.451
  },
  "oklch": {
    "l": 0.15863,
    "c": 0.04977,
    "h": 298.2
  },
  "luminance": 0.00361
}

Semantic roles & 50–950 ramp

primary
#10071F
secondary
#485E24
accent
#E642A8
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010104
muted
#777779

Preview Lab

Preview with #10071F

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

Preview Lab → · Contrast checker → · Palette generator →

#10071F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva