#0A012A#0A012A

#0A012A is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 14.7% C 0.081 H 284.4°. Best body text is #FFFFFF at 19.99:1 contrast (WCAG AA passes).

Color values

HEX#0A012A
RGBrgb(10, 1, 42)
HSLhsl(253, 95%, 8%)
HSVhsv(253, 98%, 16%)
CMYKcmyk(76.2%, 97.6%, 0%, 83.5%)
CIE-LABlab(2.29, 12.82, -23.02)
CIE-LCHlch(2.29, 26.35, 299.11°)
OKLaboklab(14.65% 0.0203 -0.0786)
OKLCHoklch(14.65% 0.081 284.4)
XYZxyz(0.5538, 0.2534, 2.2098)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A012A #212A01
analogous
#010C2A #0A012A #1E012A
triadic
#0A012A #2A0A01 #012A0A
tetradic
#0A012A #2A010C #212A01 #012A1E
square
#0A012A #2A010C #212A01 #012A1E
split-complementary
#0A012A #2A1E01 #0C2A01
monochromatic
#07011E #07011E #0A012A #180266 #2604A2

Accessibility & contrast

On white

19.99
#0A012A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#0A012A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A012A
19.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A012A#FFFFFF#000000##FFFFFF
##0A012A1.0019.991.0519.99
#FFFFFF19.991.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00092B
Deuteranopia (green-blind)
#000729
Tritanopia (blue-blind)
#000B15
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0a012a;
/* rgb */ color: rgb(10, 1, 42);
/* oklch */ color: oklch(14.7% 0.081 284.4);
Tailwind
colors: {
  custom: {
    50: '#4c4764',
    500: '#0a012a',
    950: '#000000',
  },
}
SCSS
$custom: #0a012a;
$custom-light: #4c4764;
$custom-dark: #000000;
JSON
{
  "hex": "#0a012a",
  "rgb": {
    "r": 10,
    "g": 1,
    "b": 42
  },
  "hsl": {
    "h": 253.171,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.14654,
    "c": 0.08121,
    "h": 284.4
  },
  "luminance": 0.00253
}

Semantic roles & 50–950 ramp

primary
#0A012A
secondary
#5D7016
accent
#FF29D0
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010005
muted
#77777A

Preview Lab

Preview with #0A012A

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

Preview Lab → · Contrast checker → · Palette generator →

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