#0A012C#0A012C

#0A012C is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 14.9% C 0.084 H 283.2°. Best body text is #FFFFFF at 19.93:1 contrast (WCAG AA passes).

Color values

HEX#0A012C
RGBrgb(10, 1, 44)
HSLhsl(253, 96%, 9%)
HSVhsv(253, 98%, 17%)
CMYKcmyk(77.3%, 97.7%, 0%, 82.7%)
CIE-LABlab(2.42, 13.75, -24.34)
CIE-LCHlch(2.42, 27.96, 299.47°)
OKLaboklab(14.94% 0.0192 -0.0816)
OKLCHoklch(14.94% 0.084 283.2)
XYZxyz(0.5905, 0.2680, 2.4030)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A012C #232C01
analogous
#010E2C #0A012C #20012C
triadic
#0A012C #2C0A01 #012C0A
tetradic
#0A012C #2C010E #232C01 #012C20
square
#0A012C #2C010E #232C01 #012C20
split-complementary
#0A012C #2C2001 #0E2C01
monochromatic
#07011E #07011E #0A012C #180268 #2504A4

Accessibility & contrast

On white

19.93
#0A012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A012C
19.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A012C#FFFFFF#000000##FFFFFF
##0A012C1.0019.931.0519.93
#FFFFFF19.931.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2D
Deuteranopia (green-blind)
#00072B
Tritanopia (blue-blind)
#000C16
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #0a012c;
/* rgb */ color: rgb(10, 1, 44);
/* oklch */ color: oklch(14.9% 0.084 283.2);
Tailwind
colors: {
  custom: {
    50: '#4c4765',
    500: '#0a012c',
    950: '#000000',
  },
}
SCSS
$custom: #0a012c;
$custom-light: #4c4765;
$custom-dark: #000000;
JSON
{
  "hex": "#0a012c",
  "rgb": {
    "r": 10,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 252.558,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.14943,
    "c": 0.08385,
    "h": 283.2
  },
  "luminance": 0.00268
}

Semantic roles & 50–950 ramp

primary
#0A012C
secondary
#5F7217
accent
#FF29D2
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010005
muted
#77777A

Preview Lab

Preview with #0A012C

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

Preview Lab → · Contrast checker → · Palette generator →

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