#080318#080318

#080318 is a very dark, muted violet. Relative luminance 0.002; OKLCH L 12.7% C 0.049 H 292.5°. Best body text is #FFFFFF at 20.26:1 contrast (WCAG AA passes).

Color values

HEX#080318
RGBrgb(8, 3, 24)
HSLhsl(254, 78%, 5%)
HSVhsv(254, 88%, 9%)
CMYKcmyk(66.7%, 87.5%, 0%, 90.6%)
CIE-LABlab(1.65, 5.07, -9.79)
CIE-LCHlch(1.65, 11.03, 297.39°)
OKLaboklab(12.75% 0.0186 -0.045)
OKLCHoklch(12.75% 0.049 292.5)
XYZxyz(0.2975, 0.1827, 0.8836)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080318 #131803
analogous
#030818 #080318 #120318
triadic
#080318 #180803 #031808
tetradic
#080318 #180308 #131803 #031812
square
#080318 #180308 #131803 #031812
split-complementary
#080318 #181203 #081803
monochromatic
#09031B #09031B #09031B #1A0A4E #2C1185

Accessibility & contrast

On white

20.26
#080318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080318
20.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080318#FFFFFF#000000##FFFFFF
##0803181.0020.261.0420.26
#FFFFFF20.261.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #080318;
/* rgb */ color: rgb(8, 3, 24);
/* oklch */ color: oklch(12.7% 0.049 292.5);
Tailwind
colors: {
  custom: {
    50: '#4a4854',
    500: '#080318',
    950: '#000000',
  },
}
SCSS
$custom: #080318;
$custom-light: #4a4854;
$custom-dark: #000000;
JSON
{
  "hex": "#080318",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 24
  },
  "hsl": {
    "h": 254.286,
    "s": 77.778,
    "l": 5.294
  },
  "oklch": {
    "l": 0.12746,
    "c": 0.04874,
    "h": 292.5
  },
  "luminance": 0.00183
}

Semantic roles & 50–950 ramp

primary
#080318
secondary
#4C5C1B
accent
#F434C6
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010002
muted
#777778

Preview Lab

Preview with #080318

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

Preview Lab → · Contrast checker → · Palette generator →

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