#0A011F#0A011F

#0A011F is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.1% C 0.067 H 293.2°. Best body text is #FFFFFF at 20.25:1 contrast (WCAG AA passes).

Color values

HEX#0A011F
RGBrgb(10, 1, 31)
HSLhsl(258, 94%, 6%)
HSVhsv(258, 97%, 12%)
CMYKcmyk(67.7%, 96.8%, 0%, 87.8%)
CIE-LABlab(1.67, 8.49, -15.38)
CIE-LCHlch(1.67, 17.56, 298.91°)
OKLaboklab(13.13% 0.0262 -0.0611)
OKLCHoklch(13.13% 0.067 293.2)
XYZxyz(0.3833, 0.1852, 1.3116)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A011F #161F01
analogous
#01071F #0A011F #19011F
triadic
#0A011F #1F0A01 #011F0A
tetradic
#0A011F #1F0107 #161F01 #011F19
square
#0A011F #1F0107 #161F01 #011F19
split-complementary
#0A011F #1F1901 #071F01
monochromatic
#0A011E #0A011E #0A011F #1D035A #300596

Accessibility & contrast

On white

20.25
#0A011F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A011F
20.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A011F#FFFFFF#000000##FFFFFF
##0A011F1.0020.251.0420.25
#FFFFFF20.251.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000620
Deuteranopia (green-blind)
#00061E
Tritanopia (blue-blind)
#04070E
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #0a011f;
/* rgb */ color: rgb(10, 1, 31);
/* oklch */ color: oklch(13.1% 0.067 293.2);
Tailwind
colors: {
  custom: {
    50: '#4b475a',
    500: '#0a011f',
    950: '#000000',
  },
}
SCSS
$custom: #0a011f;
$custom-light: #4b475a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a011f",
  "rgb": {
    "r": 10,
    "g": 1,
    "b": 31
  },
  "hsl": {
    "h": 258,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.13127,
    "c": 0.06651,
    "h": 293.2
  },
  "luminance": 0.00185
}

Semantic roles & 50–950 ramp

primary
#0A011F
secondary
#4E6715
accent
#FF29BF
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #0A011F

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

Preview Lab → · Contrast checker → · Palette generator →

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