#0A020A#0A020A

#0A020A is a very dark, muted purple. Relative luminance 0.001; OKLCH L 11.3% C 0.032 H 327.4°. Best body text is #FFFFFF at 20.47:1 contrast (WCAG AA passes).

Color values

HEX#0A020A
RGBrgb(10, 2, 10)
HSLhsl(300, 67%, 2%)
HSVhsv(300, 80%, 4%)
CMYKcmyk(0%, 80%, 0%, 96.1%)
CIE-LABlab(1.17, 3.20, -2.29)
CIE-LCHlch(1.17, 3.94, 324.46°)
OKLaboklab(11.31% 0.027 -0.0172)
OKLCHoklch(11.31% 0.032 327.4)
XYZxyz(0.2017, 0.1299, 0.3015)
Luminance0.0013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A020A #020A02
analogous
#06020A #0A020A #0A0206
triadic
#0A020A #0A0A02 #020A0A
tetradic
#0A020A #0A0602 #020A02 #02060A
square
#0A020A #0A0602 #020A02 #02060A
split-complementary
#0A020A #060A02 #020A06
monochromatic
#1A051A #1A051A #1A051A #3D0C3D #701670

Accessibility & contrast

On white

20.47
#0A020A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A020A
20.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A020A#FFFFFF#000000##FFFFFF
##0A020A1.0020.471.0320.47
#FFFFFF20.471.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02040A
Deuteranopia (green-blind)
#03050A
Tritanopia (blue-blind)
#0B0304
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #0a020a;
/* rgb */ color: rgb(10, 2, 10);
/* oklch */ color: oklch(11.3% 0.032 327.4);
Tailwind
colors: {
  custom: {
    50: '#4b474b',
    500: '#0a020a',
    950: '#000000',
  },
}
SCSS
$custom: #0a020a;
$custom-light: #4b474b;
$custom-dark: #000000;
JSON
{
  "hex": "#0a020a",
  "rgb": {
    "r": 10,
    "g": 2,
    "b": 10
  },
  "hsl": {
    "h": 300,
    "s": 66.667,
    "l": 2.353
  },
  "oklch": {
    "l": 0.11314,
    "c": 0.03199,
    "h": 327.4
  },
  "luminance": 0.0013
}

Semantic roles & 50–950 ramp

primary
#0A020A
secondary
#1C4C1C
accent
#EA3E3E
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #0A020A

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

Preview Lab → · Contrast checker → · Palette generator →

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