#080311#080311

#080311 is a very dark, muted violet. Relative luminance 0.002; OKLCH L 12.0% C 0.037 H 301.7°. Best body text is #FFFFFF at 20.36:1 contrast (WCAG AA passes).

Color values

HEX#080311
RGBrgb(8, 3, 17)
HSLhsl(261, 70%, 4%)
HSVhsv(261, 82%, 7%)
CMYKcmyk(52.9%, 82.4%, 0%, 93.3%)
CIE-LABlab(1.42, 3.46, -5.39)
CIE-LCHlch(1.42, 6.41, 302.69°)
OKLaboklab(12.02% 0.0193 -0.0312)
OKLCHoklch(12.02% 0.037 301.7)
XYZxyz(0.2339, 0.1572, 0.5482)
Luminance0.0016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080311 #0C1103
analogous
#030511 #080311 #0F0311
triadic
#080311 #110803 #031108
tetradic
#080311 #110305 #0C1103 #03110F
square
#080311 #110305 #0C1103 #03110F
split-complementary
#080311 #110F03 #051103
monochromatic
#0C051A #0C051A #0C051A #200C45 #391579

Accessibility & contrast

On white

20.36
#080311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##080311#FFFFFF#000000##FFFFFF
##0803111.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)
#010512
Deuteranopia (green-blind)
#010511
Tritanopia (blue-blind)
#070508
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #080311;
/* rgb */ color: rgb(8, 3, 17);
/* oklch */ color: oklch(12.0% 0.037 301.7);
Tailwind
colors: {
  custom: {
    50: '#4a484f',
    500: '#080311',
    950: '#000000',
  },
}
SCSS
$custom: #080311;
$custom-light: #4a484f;
$custom-dark: #000000;
JSON
{
  "hex": "#080311",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 17
  },
  "hsl": {
    "h": 261.429,
    "s": 70,
    "l": 3.922
  },
  "oklch": {
    "l": 0.12024,
    "c": 0.03664,
    "h": 301.7
  },
  "luminance": 0.00157
}

Semantic roles & 50–950 ramp

primary
#080311
secondary
#40531D
accent
#ED3BAD
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #080311

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

Preview Lab → · Contrast checker → · Palette generator →

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