#10012A#10012A

#10012A is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.5% C 0.081 H 293.9°. Best body text is #FFFFFF at 19.82:1 contrast (WCAG AA passes).

Color values

HEX#10012A
RGBrgb(16, 1, 42)
HSLhsl(262, 95%, 8%)
HSVhsv(262, 98%, 16%)
CMYKcmyk(61.9%, 97.6%, 0%, 83.5%)
CIE-LABlab(2.70, 14.67, -22.34)
CIE-LCHlch(2.70, 26.73, 303.29°)
OKLaboklab(15.47% 0.0328 -0.074)
OKLCHoklch(15.47% 0.081 293.9)
XYZxyz(0.6423, 0.2990, 2.2139)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10012A #1B2A01
analogous
#01062A #10012A #24012A
triadic
#10012A #2A1001 #012A10
tetradic
#10012A #2A0106 #1B2A01 #012A24
square
#10012A #2A0106 #1B2A01 #012A24
split-complementary
#10012A #2A2401 #062A01
monochromatic
#0B011E #0B011E #10012A #270266 #3E04A2

Accessibility & contrast

On white

19.82
#10012A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10012A
19.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10012A#FFFFFF#000000##FFFFFF
##10012A1.0019.821.0619.82
#FFFFFF19.821.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2B
Deuteranopia (green-blind)
#000929
Tritanopia (blue-blind)
#080B15
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #10012a;
/* rgb */ color: rgb(16, 1, 42);
/* oklch */ color: oklch(15.5% 0.081 293.9);
Tailwind
colors: {
  custom: {
    50: '#4f4764',
    500: '#10012a',
    950: '#000000',
  },
}
SCSS
$custom: #10012a;
$custom-light: #4f4764;
$custom-dark: #000000;
JSON
{
  "hex": "#10012a",
  "rgb": {
    "r": 16,
    "g": 1,
    "b": 42
  },
  "hsl": {
    "h": 261.951,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.15466,
    "c": 0.08096,
    "h": 293.9
  },
  "luminance": 0.00299
}

Semantic roles & 50–950 ramp

primary
#10012A
secondary
#4F7016
accent
#FF29B1
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020005
muted
#78777A

Preview Lab

Preview with #10012A

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

Preview Lab → · Contrast checker → · Palette generator →

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