#08001A#08001A

#08001A is a very dark, moderate violet. Relative luminance 0.001; OKLCH L 11.7% C 0.064 H 295.6°. Best body text is #FFFFFF at 20.48:1 contrast (WCAG AA passes).

Color values

HEX#08001A
RGBrgb(8, 0, 26)
HSLhsl(258, 100%, 5%)
HSVhsv(258, 100%, 10%)
CMYKcmyk(69.2%, 100%, 0%, 89.8%)
CIE-LABlab(1.14, 6.82, -12.14)
CIE-LCHlch(1.14, 13.93, 299.34°)
OKLaboklab(11.68% 0.0276 -0.0576)
OKLCHoklch(11.68% 0.064 295.6)
XYZxyz(0.2865, 0.1262, 0.9863)
Luminance0.0013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08001A #121A00
analogous
#00051A #08001A #15001A
triadic
#08001A #1A0800 #001A08
tetradic
#08001A #1A0005 #121A00 #001A15
square
#08001A #1A0005 #121A00 #001A15
split-complementary
#08001A #1A1500 #051A00
monochromatic
#09001F #09001F #09001F #1B0057 #2E0094

Accessibility & contrast

On white

20.48
#08001A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#08001A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08001A
20.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08001A#FFFFFF#000000##FFFFFF
##08001A1.0020.481.0320.48
#FFFFFF20.481.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00041B
Deuteranopia (green-blind)
#000419
Tritanopia (blue-blind)
#04040A
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #08001a;
/* rgb */ color: rgb(8, 0, 26);
/* oklch */ color: oklch(11.7% 0.064 295.6);
Tailwind
colors: {
  custom: {
    50: '#4a4756',
    500: '#08001a',
    950: '#000000',
  },
}
SCSS
$custom: #08001a;
$custom-light: #4a4756;
$custom-dark: #000000;
JSON
{
  "hex": "#08001a",
  "rgb": {
    "r": 8,
    "g": 0,
    "b": 26
  },
  "hsl": {
    "h": 258.462,
    "s": 100,
    "l": 5.098
  },
  "oklch": {
    "l": 0.11678,
    "c": 0.0639,
    "h": 295.6
  },
  "luminance": 0.00126
}

Semantic roles & 50–950 ramp

primary
#08001A
secondary
#4B6412
accent
#FF29BD
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010003
muted
#777778

Preview Lab

Preview with #08001A

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

Preview Lab → · Contrast checker → · Palette generator →

#08001A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva