#0A040A#0A040A

#0A040A is a very dark, muted purple. Relative luminance 0.002; OKLCH L 12.3% C 0.021 H 326.8°. Best body text is #FFFFFF at 20.30:1 contrast (WCAG AA passes).

Color values

HEX#0A040A
RGBrgb(10, 4, 10)
HSLhsl(300, 43%, 3%)
HSVhsv(300, 60%, 4%)
CMYKcmyk(0%, 60%, 0%, 96.1%)
CIE-LABlab(1.57, 2.40, -1.72)
CIE-LCHlch(1.57, 2.95, 324.45°)
OKLaboklab(12.27% 0.0178 -0.0116)
OKLCHoklch(12.27% 0.021 326.8)
XYZxyz(0.2234, 0.1733, 0.3088)
Luminance0.0017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A040A #040A04
analogous
#07040A #0A040A #0A0407
triadic
#0A040A #0A0A04 #040A0A
tetradic
#0A040A #0A0704 #040A04 #04070A
square
#0A040A #0A0704 #040A04 #04070A
split-complementary
#0A040A #070A04 #040A07
monochromatic
#160916 #160916 #160916 #361536 #612761

Accessibility & contrast

On white

20.30
#0A040A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#0A040A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A040A
20.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A040A#FFFFFF#000000##FFFFFF
##0A040A1.0020.301.0320.30
#FFFFFF20.301.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04050A
Deuteranopia (green-blind)
#05060A
Tritanopia (blue-blind)
#0A0406
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #0a040a;
/* rgb */ color: rgb(10, 4, 10);
/* oklch */ color: oklch(12.3% 0.021 326.8);
Tailwind
colors: {
  custom: {
    50: '#4b484b',
    500: '#0a040a',
    950: '#000000',
  },
}
SCSS
$custom: #0a040a;
$custom-light: #4b484b;
$custom-dark: #000000;
JSON
{
  "hex": "#0a040a",
  "rgb": {
    "r": 10,
    "g": 4,
    "b": 10
  },
  "hsl": {
    "h": 300,
    "s": 42.857,
    "l": 2.745
  },
  "oklch": {
    "l": 0.12268,
    "c": 0.02124,
    "h": 326.8
  },
  "luminance": 0.00173
}

Semantic roles & 50–950 ramp

primary
#0A040A
secondary
#254525
accent
#D35555
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #0A040A

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

Preview Lab → · Contrast checker → · Palette generator →

#0A040A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva