#0A012D#0A012D

#0A012D is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.1% C 0.085 H 282.6°. Best body text is #FFFFFF at 19.90:1 contrast (WCAG AA passes).

Color values

HEX#0A012D
RGBrgb(10, 1, 45)
HSLhsl(252, 96%, 9%)
HSVhsv(252, 98%, 18%)
CMYKcmyk(77.8%, 97.8%, 0%, 82.4%)
CIE-LABlab(2.49, 14.23, -24.99)
CIE-LCHlch(2.49, 28.76, 299.66°)
OKLaboklab(15.09% 0.0187 -0.0831)
OKLCHoklch(15.09% 0.085 282.6)
XYZxyz(0.6095, 0.2757, 2.5032)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A012D #242D01
analogous
#010E2D #0A012D #20012D
triadic
#0A012D #2D0A01 #012D0A
tetradic
#0A012D #2D010E #242D01 #012D20
square
#0A012D #2D010E #242D01 #012D20
split-complementary
#0A012D #2D2001 #0E2D01
monochromatic
#07011E #07011E #0A012D #170269 #2504A5

Accessibility & contrast

On white

19.90
#0A012D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#0A012D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A012D
19.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A012D#FFFFFF#000000##FFFFFF
##0A012D1.0019.901.0619.90
#FFFFFF19.901.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2E
Deuteranopia (green-blind)
#00082C
Tritanopia (blue-blind)
#000D16
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #0a012d;
/* rgb */ color: rgb(10, 1, 45);
/* oklch */ color: oklch(15.1% 0.085 282.6);
Tailwind
colors: {
  custom: {
    50: '#4c4766',
    500: '#0a012d',
    950: '#000000',
  },
}
SCSS
$custom: #0a012d;
$custom-light: #4c4766;
$custom-dark: #000000;
JSON
{
  "hex": "#0a012d",
  "rgb": {
    "r": 10,
    "g": 1,
    "b": 45
  },
  "hsl": {
    "h": 252.273,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.15088,
    "c": 0.08518,
    "h": 282.6
  },
  "luminance": 0.00276
}

Semantic roles & 50–950 ramp

primary
#0A012D
secondary
#607317
accent
#FF29D3
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #0A012D

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

Preview Lab → · Contrast checker → · Palette generator →

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