#080316#080316

#080316 is a very dark, muted violet. Relative luminance 0.002; OKLCH L 12.5% C 0.045 H 294.7°. Best body text is #FFFFFF at 20.29:1 contrast (WCAG AA passes).

Color values

HEX#080316
RGBrgb(8, 3, 22)
HSLhsl(256, 76%, 5%)
HSVhsv(256, 86%, 9%)
CMYKcmyk(63.6%, 86.4%, 0%, 91.4%)
CIE-LABlab(1.58, 4.57, -8.41)
CIE-LCHlch(1.58, 9.57, 298.50°)
OKLaboklab(12.53% 0.019 -0.0412)
OKLCHoklch(12.53% 0.045 294.7)
XYZxyz(0.2775, 0.1747, 0.7780)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080316 #111603
analogous
#030816 #080316 #110316
triadic
#080316 #160803 #031608
tetradic
#080316 #160308 #111603 #031611
square
#080316 #160308 #111603 #031611
split-complementary
#080316 #161103 #081603
monochromatic
#0A041B #0A041B #0A041B #1C0A4C #2F1282

Accessibility & contrast

On white

20.29
#080316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#080316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080316
20.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080316#FFFFFF#000000##FFFFFF
##0803161.0020.291.0320.29
#FFFFFF20.291.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000617
Deuteranopia (green-blind)
#000616
Tritanopia (blue-blind)
#05060A
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #080316;
/* rgb */ color: rgb(8, 3, 22);
/* oklch */ color: oklch(12.5% 0.045 294.7);
Tailwind
colors: {
  custom: {
    50: '#4a4852',
    500: '#080316',
    950: '#000000',
  },
}
SCSS
$custom: #080316;
$custom-light: #4a4852;
$custom-dark: #000000;
JSON
{
  "hex": "#080316",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 22
  },
  "hsl": {
    "h": 255.789,
    "s": 76,
    "l": 4.902
  },
  "oklch": {
    "l": 0.12528,
    "c": 0.04535,
    "h": 294.7
  },
  "luminance": 0.00175
}

Semantic roles & 50–950 ramp

primary
#080316
secondary
#49591B
accent
#F335C1
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010002
muted
#777778

Preview Lab

Preview with #080316

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

Preview Lab → · Contrast checker → · Palette generator →

#080316 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva