#080313#080313

#080313 is a very dark, muted violet. Relative luminance 0.002; OKLCH L 12.2% C 0.040 H 298.6°. Best body text is #FFFFFF at 20.33:1 contrast (WCAG AA passes).

Color values

HEX#080313
RGBrgb(8, 3, 19)
HSLhsl(259, 73%, 4%)
HSVhsv(259, 84%, 7%)
CMYKcmyk(57.9%, 84.2%, 0%, 92.5%)
CIE-LABlab(1.48, 3.87, -6.52)
CIE-LCHlch(1.48, 7.59, 300.69°)
OKLaboklab(12.22% 0.0192 -0.0353)
OKLCHoklch(12.22% 0.04 298.6)
XYZxyz(0.2502, 0.1638, 0.6344)
Luminance0.0016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080313 #0E1303
analogous
#030613 #080313 #100313
triadic
#080313 #130803 #031308
tetradic
#080313 #130306 #0E1303 #031310
square
#080313 #130306 #0E1303 #031310
split-complementary
#080313 #131003 #061303
monochromatic
#0B041A #0B041A #0B041A #1E0B48 #35147D

Accessibility & contrast

On white

20.33
#080313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080313
20.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080313#FFFFFF#000000##FFFFFF
##0803131.0020.331.0320.33
#FFFFFF20.331.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000514
Deuteranopia (green-blind)
#010513
Tritanopia (blue-blind)
#060509
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #080313;
/* rgb */ color: rgb(8, 3, 19);
/* oklch */ color: oklch(12.2% 0.040 298.6);
Tailwind
colors: {
  custom: {
    50: '#4a4850',
    500: '#080313',
    950: '#000000',
  },
}
SCSS
$custom: #080313;
$custom-light: #4a4850;
$custom-dark: #000000;
JSON
{
  "hex": "#080313",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 19
  },
  "hsl": {
    "h": 258.75,
    "s": 72.727,
    "l": 4.314
  },
  "oklch": {
    "l": 0.12218,
    "c": 0.04016,
    "h": 298.6
  },
  "luminance": 0.00164
}

Semantic roles & 50–950 ramp

primary
#080313
secondary
#44561C
accent
#EF38B6
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010002
muted
#777778

Preview Lab

Preview with #080313

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

Preview Lab → · Contrast checker → · Palette generator →

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