#080317#080317

#080317 is a very dark, muted violet. Relative luminance 0.002; OKLCH L 12.6% C 0.047 H 293.6°. Best body text is #FFFFFF at 20.27:1 contrast (WCAG AA passes).

Color values

HEX#080317
RGBrgb(8, 3, 23)
HSLhsl(255, 77%, 5%)
HSVhsv(255, 87%, 9%)
CMYKcmyk(65.2%, 87%, 0%, 91%)
CIE-LABlab(1.61, 4.82, -9.09)
CIE-LCHlch(1.61, 10.28, 297.92°)
OKLaboklab(12.64% 0.0188 -0.0431)
OKLCHoklch(12.64% 0.047 293.6)
XYZxyz(0.2873, 0.1786, 0.8298)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080317 #121703
analogous
#030817 #080317 #120317
triadic
#080317 #170803 #031708
tetradic
#080317 #170308 #121703 #031712
square
#080317 #170308 #121703 #031712
split-complementary
#080317 #171203 #081703
monochromatic
#09041B #09041B #09041B #1B0A4D #2E1183

Accessibility & contrast

On white

20.27
#080317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#080317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080317
20.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080317#FFFFFF#000000##FFFFFF
##0803171.0020.271.0420.27
#FFFFFF20.271.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #080317;
/* rgb */ color: rgb(8, 3, 23);
/* oklch */ color: oklch(12.6% 0.047 293.6);
Tailwind
colors: {
  custom: {
    50: '#4a4853',
    500: '#080317',
    950: '#000000',
  },
}
SCSS
$custom: #080317;
$custom-light: #4a4853;
$custom-dark: #000000;
JSON
{
  "hex": "#080317",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 23
  },
  "hsl": {
    "h": 255,
    "s": 76.923,
    "l": 5.098
  },
  "oklch": {
    "l": 0.12636,
    "c": 0.04705,
    "h": 293.6
  },
  "luminance": 0.00179
}

Semantic roles & 50–950 ramp

primary
#080317
secondary
#4B5B1B
accent
#F334C4
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010002
muted
#777778

Preview Lab

Preview with #080317

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

Preview Lab → · Contrast checker → · Palette generator →

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