#10072F#10072F

#10072F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.5% C 0.075 H 286.3°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#10072F
RGBrgb(16, 7, 47)
HSLhsl(254, 74%, 11%)
HSVhsv(254, 85%, 18%)
CMYKcmyk(66%, 85.1%, 0%, 81.6%)
CIE-LABlab(4.22, 14.68, -23.72)
CIE-LCHlch(4.22, 27.90, 301.76°)
OKLaboklab(17.52% 0.0212 -0.0723)
OKLCHoklch(17.52% 0.075 286.3)
XYZxyz(0.8026, 0.4673, 2.7367)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10072F #262F07
analogous
#07122F #10072F #24072F
triadic
#10072F #2F1007 #072F10
tetradic
#10072F #2F0712 #262F07 #072F24
square
#10072F #2F0712 #262F07 #072F24
split-complementary
#10072F #2F2407 #122F07
monochromatic
#09041B #09041B #10072F #220F64 #34179A

Accessibility & contrast

On white

19.21
#10072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10072F
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10072F#FFFFFF#000000##FFFFFF
##10072F1.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#000E2E
Tritanopia (blue-blind)
#04111A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #10072f;
/* rgb */ color: rgb(16, 7, 47);
/* oklch */ color: oklch(17.5% 0.075 286.3);
Tailwind
colors: {
  custom: {
    50: '#514968',
    500: '#10072f',
    950: '#000000',
  },
}
SCSS
$custom: #10072f;
$custom-light: #514968;
$custom-dark: #000000;
JSON
{
  "hex": "#10072f",
  "rgb": {
    "r": 16,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 253.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.17517,
    "c": 0.07536,
    "h": 286.3
  },
  "luminance": 0.00467
}

Semantic roles & 50–950 ramp

primary
#10072F
secondary
#5E6F23
accent
#F137C7
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #10072F

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

Preview Lab → · Contrast checker → · Palette generator →

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