#0A021A#0A021A

#0A021A is a very dark, muted violet. Relative luminance 0.002; OKLCH L 12.9% C 0.056 H 297.1°. Best body text is #FFFFFF at 20.26:1 contrast (WCAG AA passes).

Color values

HEX#0A021A
RGBrgb(10, 2, 26)
HSLhsl(260, 86%, 5%)
HSVhsv(260, 92%, 10%)
CMYKcmyk(61.5%, 92.3%, 0%, 89.8%)
CIE-LABlab(1.65, 6.55, -11.38)
CIE-LCHlch(1.65, 13.13, 299.91°)
OKLaboklab(12.89% 0.0254 -0.0497)
OKLCHoklch(12.89% 0.056 297.1)
XYZxyz(0.3333, 0.1825, 0.9948)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A021A #121A02
analogous
#02061A #0A021A #16021A
triadic
#0A021A #1A0A02 #021A0A
tetradic
#0A021A #1A0206 #121A02 #021A16
square
#0A021A #1A0206 #121A02 #021A16
split-complementary
#0A021A #1A1602 #061A02
monochromatic
#0B021C #0B021C #0B021C #200653 #360B8C

Accessibility & contrast

On white

20.26
#0A021A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#0A021A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A021A
20.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A021A#FFFFFF#000000##FFFFFF
##0A021A1.0020.261.0420.26
#FFFFFF20.261.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00061B
Deuteranopia (green-blind)
#000619
Tritanopia (blue-blind)
#06060C
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #0a021a;
/* rgb */ color: rgb(10, 2, 26);
/* oklch */ color: oklch(12.9% 0.056 297.1);
Tailwind
colors: {
  custom: {
    50: '#4b4756',
    500: '#0a021a',
    950: '#000000',
  },
}
SCSS
$custom: #0a021a;
$custom-light: #4b4756;
$custom-dark: #000000;
JSON
{
  "hex": "#0a021a",
  "rgb": {
    "r": 10,
    "g": 2,
    "b": 26
  },
  "hsl": {
    "h": 260,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.12889,
    "c": 0.05581,
    "h": 297.1
  },
  "luminance": 0.00183
}

Semantic roles & 50–950 ramp

primary
#0A021A
secondary
#486018
accent
#FC2CB7
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #0A021A

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

Preview Lab → · Contrast checker → · Palette generator →

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