#0A001E#0A001E

#0A001E is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 12.6% C 0.069 H 295.5°. Best body text is #FFFFFF at 20.36:1 contrast (WCAG AA passes).

Color values

HEX#0A001E
RGBrgb(10, 0, 30)
HSLhsl(260, 100%, 6%)
HSVhsv(260, 100%, 12%)
CMYKcmyk(66.7%, 100%, 0%, 88.2%)
CIE-LABlab(1.43, 8.56, -14.94)
CIE-LCHlch(1.43, 17.22, 299.82°)
OKLaboklab(12.59% 0.0297 -0.0622)
OKLCHoklch(12.59% 0.069 295.5)
XYZxyz(0.3595, 0.1583, 1.2397)
Luminance0.0016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A001E #141E00
analogous
#00051E #0A001E #19001E
triadic
#0A001E #1E0A00 #001E0A
tetradic
#0A001E #1E0005 #141E00 #001E19
square
#0A001E #1E0005 #141E00 #001E19
split-complementary
#0A001E #1E1900 #051E00
monochromatic
#0A001F #0A001F #0A001F #1E005B #330098

Accessibility & contrast

On white

20.36
#0A001E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#0A001E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A001E
20.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A001E#FFFFFF#000000##FFFFFF
##0A001E1.0020.361.0320.36
#FFFFFF20.361.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00051F
Deuteranopia (green-blind)
#00051D
Tritanopia (blue-blind)
#05060D
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #0a001e;
/* rgb */ color: rgb(10, 0, 30);
/* oklch */ color: oklch(12.6% 0.069 295.5);
Tailwind
colors: {
  custom: {
    50: '#4a4759',
    500: '#0a001e',
    950: '#000000',
  },
}
SCSS
$custom: #0a001e;
$custom-light: #4a4759;
$custom-dark: #000000;
JSON
{
  "hex": "#0a001e",
  "rgb": {
    "r": 10,
    "g": 0,
    "b": 30
  },
  "hsl": {
    "h": 260,
    "s": 100,
    "l": 5.882
  },
  "oklch": {
    "l": 0.12593,
    "c": 0.06896,
    "h": 295.5
  },
  "luminance": 0.00158
}

Semantic roles & 50–950 ramp

primary
#0A001E
secondary
#4B6812
accent
#FF29B8
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010003
muted
#777778

Preview Lab

Preview with #0A001E

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

Preview Lab → · Contrast checker → · Palette generator →

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