#08041A#08041A

#08041A is a very dark, muted violet. Relative luminance 0.002; OKLCH L 13.4% C 0.049 H 288.7°. Best body text is #FFFFFF at 20.14:1 contrast (WCAG AA passes).

Color values

HEX#08041A
RGBrgb(8, 4, 26)
HSLhsl(251, 73%, 6%)
HSVhsv(251, 85%, 10%)
CMYKcmyk(69.2%, 84.6%, 0%, 89.8%)
CIE-LABlab(1.92, 5.22, -10.99)
CIE-LCHlch(1.92, 12.17, 295.43°)
OKLaboklab(13.35% 0.0157 -0.0463)
OKLCHoklch(13.35% 0.049 288.7)
XYZxyz(0.3300, 0.2130, 1.0008)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08041A #161A04
analogous
#040B1A #08041A #13041A
triadic
#08041A #1A0804 #041A08
tetradic
#08041A #1A040B #161A04 #041A13
square
#08041A #1A040B #161A04 #041A13
split-complementary
#08041A #1A1304 #0B1A04
monochromatic
#08041B #08041B #08041B #180C4F #291484

Accessibility & contrast

On white

20.14
#08041A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#08041A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08041A
20.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08041A#FFFFFF#000000##FFFFFF
##08041A1.0020.141.0420.14
#FFFFFF20.141.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00071B
Deuteranopia (green-blind)
#00071A
Tritanopia (blue-blind)
#04080D
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #08041a;
/* rgb */ color: rgb(8, 4, 26);
/* oklch */ color: oklch(13.4% 0.049 288.7);
Tailwind
colors: {
  custom: {
    50: '#4a4856',
    500: '#08041a',
    950: '#000000',
  },
}
SCSS
$custom: #08041a;
$custom-light: #4a4856;
$custom-dark: #000000;
JSON
{
  "hex": "#08041a",
  "rgb": {
    "r": 8,
    "g": 4,
    "b": 26
  },
  "hsl": {
    "h": 250.909,
    "s": 73.333,
    "l": 5.882
  },
  "oklch": {
    "l": 0.13351,
    "c": 0.04885,
    "h": 288.7
  },
  "luminance": 0.00213
}

Semantic roles & 50–950 ramp

primary
#08041A
secondary
#515C1E
accent
#F038CF
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #08041A

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

Preview Lab → · Contrast checker → · Palette generator →

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