#0A020E#0A020E

#0A020E is a very dark, muted purple. Relative luminance 0.001; OKLCH L 11.6% C 0.038 H 316.6°. Best body text is #FFFFFF at 20.43:1 contrast (WCAG AA passes).

Color values

HEX#0A020E
RGBrgb(10, 2, 14)
HSLhsl(280, 75%, 3%)
HSVhsv(280, 86%, 5%)
CMYKcmyk(28.6%, 85.7%, 0%, 94.5%)
CIE-LABlab(1.26, 3.82, -3.98)
CIE-LCHlch(1.26, 5.52, 313.84°)
OKLaboklab(11.64% 0.0275 -0.0259)
OKLCHoklch(11.64% 0.038 316.6)
XYZxyz(0.2261, 0.1397, 0.4304)
Luminance0.0014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A020E #060E02
analogous
#04020E #0A020E #0E020C
triadic
#0A020E #0E0A02 #020E0A
tetradic
#0A020E #0E0402 #060E02 #020C0E
square
#0A020E #0E0402 #060E02 #020C0E
split-complementary
#0A020E #0C0E02 #020E04
monochromatic
#13041B #13041B #13041B #300A44 #561179

Accessibility & contrast

On white

20.43
#0A020E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A020E
20.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A020E#FFFFFF#000000##FFFFFF
##0A020E1.0020.431.0320.43
#FFFFFF20.431.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01040E
Deuteranopia (green-blind)
#02050E
Tritanopia (blue-blind)
#0A0306
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #0a020e;
/* rgb */ color: rgb(10, 2, 14);
/* oklch */ color: oklch(11.6% 0.038 316.6);
Tailwind
colors: {
  custom: {
    50: '#4b474d',
    500: '#0a020e',
    950: '#000000',
  },
}
SCSS
$custom: #0a020e;
$custom-light: #4b474d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a020e",
  "rgb": {
    "r": 10,
    "g": 2,
    "b": 14
  },
  "hsl": {
    "h": 280,
    "s": 75,
    "l": 3.137
  },
  "oklch": {
    "l": 0.11642,
    "c": 0.03775,
    "h": 316.6
  },
  "luminance": 0.0014
}

Semantic roles & 50–950 ramp

primary
#0A020E
secondary
#2C521A
accent
#F23675
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #0A020E

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

Preview Lab → · Contrast checker → · Palette generator →

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