#10012C#10012C

#10012C is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.7% C 0.083 H 292.3°. Best body text is #FFFFFF at 19.76:1 contrast (WCAG AA passes).

Color values

HEX#10012C
RGBrgb(16, 1, 44)
HSLhsl(261, 96%, 9%)
HSVhsv(261, 98%, 17%)
CMYKcmyk(63.6%, 97.7%, 0%, 82.7%)
CIE-LABlab(2.83, 15.60, -23.66)
CIE-LCHlch(2.83, 28.34, 303.40°)
OKLaboklab(15.73% 0.0317 -0.0772)
OKLCHoklch(15.73% 0.083 292.3)
XYZxyz(0.6790, 0.3137, 2.4072)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10012C #1D2C01
analogous
#01082C #10012C #26012C
triadic
#10012C #2C1001 #012C10
tetradic
#10012C #2C0108 #1D2C01 #012C26
square
#10012C #2C0108 #1D2C01 #012C26
split-complementary
#10012C #2C2601 #082C01
monochromatic
#0B011E #0B011E #10012C #260268 #3C04A4

Accessibility & contrast

On white

19.76
#10012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#10012C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10012C
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10012C#FFFFFF#000000##FFFFFF
##10012C1.0019.761.0619.76
#FFFFFF19.761.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2D
Deuteranopia (green-blind)
#00092B
Tritanopia (blue-blind)
#070C16
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #10012c;
/* rgb */ color: rgb(16, 1, 44);
/* oklch */ color: oklch(15.7% 0.083 292.3);
Tailwind
colors: {
  custom: {
    50: '#4f4765',
    500: '#10012c',
    950: '#000000',
  },
}
SCSS
$custom: #10012c;
$custom-light: #4f4765;
$custom-dark: #000000;
JSON
{
  "hex": "#10012c",
  "rgb": {
    "r": 16,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 260.93,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.15728,
    "c": 0.08343,
    "h": 292.3
  },
  "luminance": 0.00314
}

Semantic roles & 50–950 ramp

primary
#10012C
secondary
#527217
accent
#FF29B4
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020005
muted
#78777A

Preview Lab

Preview with #10012C

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

Preview Lab → · Contrast checker → · Palette generator →

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