#08031A#08031A

#08031A is a very dark, muted violet. Relative luminance 0.002; OKLCH L 13.0% C 0.052 H 290.5°. Best body text is #FFFFFF at 20.23:1 contrast (WCAG AA passes).

Color values

HEX#08031A
RGBrgb(8, 3, 26)
HSLhsl(253, 79%, 6%)
HSVhsv(253, 88%, 10%)
CMYKcmyk(69.2%, 88.5%, 0%, 89.8%)
CIE-LABlab(1.73, 5.62, -11.28)
CIE-LCHlch(1.73, 12.60, 296.50°)
OKLaboklab(12.97% 0.0182 -0.0488)
OKLCHoklch(12.97% 0.052 290.5)
XYZxyz(0.3191, 0.1913, 0.9972)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08031A #151A03
analogous
#03091A #08031A #13031A
triadic
#08031A #1A0803 #031A08
tetradic
#08031A #1A0309 #151A03 #031A13
square
#08031A #1A0309 #151A03 #031A13
split-complementary
#08031A #1A1303 #091A03
monochromatic
#08031B #08031B #08031B #190951 #2A1088

Accessibility & contrast

On white

20.23
#08031A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08031A
20.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08031A#FFFFFF#000000##FFFFFF
##08031A1.0020.231.0420.23
#FFFFFF20.231.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00071B
Deuteranopia (green-blind)
#000619
Tritanopia (blue-blind)
#04070C
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #08031a;
/* rgb */ color: rgb(8, 3, 26);
/* oklch */ color: oklch(13.0% 0.052 290.5);
Tailwind
colors: {
  custom: {
    50: '#4a4856',
    500: '#08031a',
    950: '#000000',
  },
}
SCSS
$custom: #08031a;
$custom-light: #4a4856;
$custom-dark: #000000;
JSON
{
  "hex": "#08031a",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 26
  },
  "hsl": {
    "h": 253.043,
    "s": 79.31,
    "l": 5.686
  },
  "oklch": {
    "l": 0.12973,
    "c": 0.05208,
    "h": 290.5
  },
  "luminance": 0.00191
}

Semantic roles & 50–950 ramp

primary
#08031A
secondary
#4F5E1B
accent
#F632CB
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #08031A

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

Preview Lab → · Contrast checker → · Palette generator →

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