#0A0210#0A0210

#0A0210 is a very dark, muted violet. Relative luminance 0.001; OKLCH L 11.8% C 0.041 H 312.3°. Best body text is #FFFFFF at 20.41:1 contrast (WCAG AA passes).

Color values

HEX#0A0210
RGBrgb(10, 2, 16)
HSLhsl(274, 78%, 4%)
HSVhsv(274, 88%, 6%)
CMYKcmyk(37.5%, 87.5%, 0%, 93.7%)
CIE-LABlab(1.31, 4.19, -4.97)
CIE-LCHlch(1.31, 6.50, 310.13°)
OKLaboklab(11.83% 0.0274 -0.0301)
OKLCHoklch(11.83% 0.041 312.3)
XYZxyz(0.2404, 0.1454, 0.5055)
Luminance0.0014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0210 #081002
analogous
#030210 #0A0210 #10020F
triadic
#0A0210 #100A02 #02100A
tetradic
#0A0210 #100302 #081002 #020F10
square
#0A0210 #100302 #081002 #020F10
split-complementary
#0A0210 #0F1002 #021003
monochromatic
#11031B #11031B #11031B #2C0946 #4E107D

Accessibility & contrast

On white

20.41
#0A0210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0210
20.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0210#FFFFFF#000000##FFFFFF
##0A02101.0020.411.0320.41
#FFFFFF20.411.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000411
Deuteranopia (green-blind)
#020510
Tritanopia (blue-blind)
#090407
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #0a0210;
/* rgb */ color: rgb(10, 2, 16);
/* oklch */ color: oklch(11.8% 0.041 312.3);
Tailwind
colors: {
  custom: {
    50: '#4b474e',
    500: '#0a0210',
    950: '#000000',
  },
}
SCSS
$custom: #0a0210;
$custom-light: #4b474e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0210",
  "rgb": {
    "r": 10,
    "g": 2,
    "b": 16
  },
  "hsl": {
    "h": 274.286,
    "s": 77.778,
    "l": 3.529
  },
  "oklch": {
    "l": 0.11825,
    "c": 0.04075,
    "h": 312.3
  },
  "luminance": 0.00145
}

Semantic roles & 50–950 ramp

primary
#0A0210
secondary
#335519
accent
#F43486
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #0A0210

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

Preview Lab → · Contrast checker → · Palette generator →

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