#080310#080310

#080310 is a very dark, muted violet. Relative luminance 0.002; OKLCH L 11.9% C 0.035 H 303.5°. Best body text is #FFFFFF at 20.37:1 contrast (WCAG AA passes).

Color values

HEX#080310
RGBrgb(8, 3, 16)
HSLhsl(263, 68%, 4%)
HSVhsv(263, 81%, 6%)
CMYKcmyk(50%, 81.3%, 0%, 93.7%)
CIE-LABlab(1.39, 3.26, -4.86)
CIE-LCHlch(1.39, 5.86, 303.85°)
OKLaboklab(11.93% 0.0192 -0.0291)
OKLCHoklch(11.93% 0.035 303.5)
XYZxyz(0.2262, 0.1542, 0.5079)
Luminance0.0015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080310 #0B1003
analogous
#030410 #080310 #0E0310
triadic
#080310 #100803 #031008
tetradic
#080310 #100304 #0B1003 #03100E
square
#080310 #100304 #0B1003 #03100E
split-complementary
#080310 #100E03 #041003
monochromatic
#0D051A #0D051A #0D051A #220D44 #3C1677

Accessibility & contrast

On white

20.37
#080310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080310
20.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080310#FFFFFF#000000##FFFFFF
##0803101.0020.371.0320.37
#FFFFFF20.371.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010511
Deuteranopia (green-blind)
#020510
Tritanopia (blue-blind)
#070507
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #080310;
/* rgb */ color: rgb(8, 3, 16);
/* oklch */ color: oklch(11.9% 0.035 303.5);
Tailwind
colors: {
  custom: {
    50: '#4a484e',
    500: '#080310',
    950: '#000000',
  },
}
SCSS
$custom: #080310;
$custom-light: #4a484e;
$custom-dark: #000000;
JSON
{
  "hex": "#080310",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 16
  },
  "hsl": {
    "h": 263.077,
    "s": 68.421,
    "l": 3.725
  },
  "oklch": {
    "l": 0.1193,
    "c": 0.03487,
    "h": 303.5
  },
  "luminance": 0.00154
}

Semantic roles & 50–950 ramp

primary
#080310
secondary
#3E521D
accent
#EB3DA8
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #080310

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

Preview Lab → · Contrast checker → · Palette generator →

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