#10012D#10012D

#10012D is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.9% C 0.085 H 291.6°. Best body text is #FFFFFF at 19.73:1 contrast (WCAG AA passes).

Color values

HEX#10012D
RGBrgb(16, 1, 45)
HSLhsl(260, 96%, 9%)
HSVhsv(260, 98%, 18%)
CMYKcmyk(64.4%, 97.8%, 0%, 82.4%)
CIE-LABlab(2.90, 16.09, -24.31)
CIE-LCHlch(2.90, 29.15, 303.49°)
OKLaboklab(15.86% 0.0311 -0.0787)
OKLCHoklch(15.86% 0.085 291.6)
XYZxyz(0.6981, 0.3213, 2.5073)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10012D #1E2D01
analogous
#01082D #10012D #26012D
triadic
#10012D #2D1001 #012D10
tetradic
#10012D #2D0108 #1E2D01 #012D26
square
#10012D #2D0108 #1E2D01 #012D26
split-complementary
#10012D #2D2601 #082D01
monochromatic
#0B011E #0B011E #10012D #250269 #3B04A5

Accessibility & contrast

On white

19.73
#10012D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10012D
19.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10012D#FFFFFF#000000##FFFFFF
##10012D1.0019.731.0619.73
#FFFFFF19.731.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2E
Deuteranopia (green-blind)
#000A2C
Tritanopia (blue-blind)
#060C16
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #10012d;
/* rgb */ color: rgb(16, 1, 45);
/* oklch */ color: oklch(15.9% 0.085 291.6);
Tailwind
colors: {
  custom: {
    50: '#504766',
    500: '#10012d',
    950: '#000000',
  },
}
SCSS
$custom: #10012d;
$custom-light: #504766;
$custom-dark: #000000;
JSON
{
  "hex": "#10012d",
  "rgb": {
    "r": 16,
    "g": 1,
    "b": 45
  },
  "hsl": {
    "h": 260.455,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.15861,
    "c": 0.08466,
    "h": 291.6
  },
  "luminance": 0.00321
}

Semantic roles & 50–950 ramp

primary
#10012D
secondary
#547317
accent
#FF29B6
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #10012D

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

Preview Lab → · Contrast checker → · Palette generator →

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