#10012F#10012F

#10012F is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.1% C 0.087 H 290.1°. Best body text is #FFFFFF at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#10012F
RGBrgb(16, 1, 47)
HSLhsl(260, 96%, 9%)
HSVhsv(260, 98%, 18%)
CMYKcmyk(66%, 97.9%, 0%, 81.6%)
CIE-LABlab(3.04, 17.09, -25.59)
CIE-LCHlch(3.04, 30.77, 303.73°)
OKLaboklab(16.13% 0.03 -0.0818)
OKLCHoklch(16.13% 0.087 290.1)
XYZxyz(0.7375, 0.3371, 2.7150)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10012F #202F01
analogous
#01092F #10012F #27012F
triadic
#10012F #2F1001 #012F10
tetradic
#10012F #2F0109 #202F01 #012F27
square
#10012F #2F0109 #202F01 #012F27
split-complementary
#10012F #2F2701 #092F01
monochromatic
#0A011E #0A011E #10012F #24026B #3904A7

Accessibility & contrast

On white

19.67
#10012F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10012F
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10012F#FFFFFF#000000##FFFFFF
##10012F1.0019.671.0719.67
#FFFFFF19.671.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C30
Deuteranopia (green-blind)
#000A2E
Tritanopia (blue-blind)
#050D18
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #10012f;
/* rgb */ color: rgb(16, 1, 47);
/* oklch */ color: oklch(16.1% 0.087 290.1);
Tailwind
colors: {
  custom: {
    50: '#504668',
    500: '#10012f',
    950: '#000000',
  },
}
SCSS
$custom: #10012f;
$custom-light: #504668;
$custom-dark: #000000;
JSON
{
  "hex": "#10012f",
  "rgb": {
    "r": 16,
    "g": 1,
    "b": 47
  },
  "hsl": {
    "h": 259.565,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.16128,
    "c": 0.08714,
    "h": 290.1
  },
  "luminance": 0.00337
}

Semantic roles & 50–950 ramp

primary
#10012F
secondary
#567517
accent
#FF29B9
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #10012F

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

Preview Lab → · Contrast checker → · Palette generator →

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