#0A012B#0A012B

#0A012B is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 14.8% C 0.083 H 283.8°. Best body text is #FFFFFF at 19.96:1 contrast (WCAG AA passes).

Color values

HEX#0A012B
RGBrgb(10, 1, 43)
HSLhsl(253, 95%, 9%)
HSVhsv(253, 98%, 17%)
CMYKcmyk(76.7%, 97.7%, 0%, 83.1%)
CIE-LABlab(2.35, 13.28, -23.68)
CIE-LCHlch(2.35, 27.15, 299.28°)
OKLaboklab(14.8% 0.0197 -0.0801)
OKLCHoklch(14.8% 0.083 283.8)
XYZxyz(0.5719, 0.2606, 2.3052)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A012B #222B01
analogous
#010D2B #0A012B #1F012B
triadic
#0A012B #2B0A01 #012B0A
tetradic
#0A012B #2B010D #222B01 #012B1F
square
#0A012B #2B010D #222B01 #012B1F
split-complementary
#0A012B #2B1F01 #0D2B01
monochromatic
#07011E #07011E #0A012B #180267 #2604A3

Accessibility & contrast

On white

19.96
#0A012B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A012B
19.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A012B#FFFFFF#000000##FFFFFF
##0A012B1.0019.961.0519.96
#FFFFFF19.961.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2C
Deuteranopia (green-blind)
#00072A
Tritanopia (blue-blind)
#000C15
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #0a012b;
/* rgb */ color: rgb(10, 1, 43);
/* oklch */ color: oklch(14.8% 0.083 283.8);
Tailwind
colors: {
  custom: {
    50: '#4c4764',
    500: '#0a012b',
    950: '#000000',
  },
}
SCSS
$custom: #0a012b;
$custom-light: #4c4764;
$custom-dark: #000000;
JSON
{
  "hex": "#0a012b",
  "rgb": {
    "r": 10,
    "g": 1,
    "b": 43
  },
  "hsl": {
    "h": 252.857,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.14798,
    "c": 0.08253,
    "h": 283.8
  },
  "luminance": 0.00261
}

Semantic roles & 50–950 ramp

primary
#0A012B
secondary
#5E7117
accent
#FF29D1
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010005
muted
#77777A

Preview Lab

Preview with #0A012B

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

Preview Lab → · Contrast checker → · Palette generator →

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