#0A0216#0A0216

#0A0216 is a very dark, muted violet. Relative luminance 0.002; OKLCH L 12.4% C 0.050 H 302.2°. Best body text is #FFFFFF at 20.33:1 contrast (WCAG AA passes).

Color values

HEX#0A0216
RGBrgb(10, 2, 22)
HSLhsl(264, 83%, 5%)
HSVhsv(264, 91%, 9%)
CMYKcmyk(54.5%, 90.9%, 0%, 91.4%)
CIE-LABlab(1.50, 5.49, -8.51)
CIE-LCHlch(1.50, 10.13, 302.83°)
OKLaboklab(12.44% 0.0265 -0.0422)
OKLCHoklch(12.44% 0.05 302.2)
XYZxyz(0.2917, 0.1659, 0.7756)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0216 #0E1602
analogous
#020416 #0A0216 #140216
triadic
#0A0216 #160A02 #02160A
tetradic
#0A0216 #160204 #0E1602 #021614
square
#0A0216 #160204 #0E1602 #021614
split-complementary
#0A0216 #161402 #041602
monochromatic
#0D031C #0D031C #0D031C #24074E #3D0C86

Accessibility & contrast

On white

20.33
#0A0216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0216
20.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0216#FFFFFF#000000##FFFFFF
##0A02161.0020.331.0320.33
#FFFFFF20.331.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000517
Deuteranopia (green-blind)
#000516
Tritanopia (blue-blind)
#080509
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #0a0216;
/* rgb */ color: rgb(10, 2, 22);
/* oklch */ color: oklch(12.4% 0.050 302.2);
Tailwind
colors: {
  custom: {
    50: '#4b4752',
    500: '#0a0216',
    950: '#000000',
  },
}
SCSS
$custom: #0a0216;
$custom-light: #4b4752;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0216",
  "rgb": {
    "r": 10,
    "g": 2,
    "b": 22
  },
  "hsl": {
    "h": 264,
    "s": 83.333,
    "l": 4.706
  },
  "oklch": {
    "l": 0.12436,
    "c": 0.04983,
    "h": 302.2
  },
  "luminance": 0.00166
}

Semantic roles & 50–950 ramp

primary
#0A0216
secondary
#415C18
accent
#FA2EA8
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010002
muted
#777778

Preview Lab

Preview with #0A0216

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

Preview Lab → · Contrast checker → · Palette generator →

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