#080315#080315

#080315 is a very dark, muted violet. Relative luminance 0.002; OKLCH L 12.4% C 0.044 H 295.9°. Best body text is #FFFFFF at 20.31:1 contrast (WCAG AA passes).

Color values

HEX#080315
RGBrgb(8, 3, 21)
HSLhsl(257, 75%, 5%)
HSVhsv(257, 86%, 8%)
CMYKcmyk(61.9%, 85.7%, 0%, 91.8%)
CIE-LABlab(1.54, 4.32, -7.75)
CIE-LCHlch(1.54, 8.88, 299.15°)
OKLaboklab(12.42% 0.0191 -0.0392)
OKLCHoklch(12.42% 0.044 295.9)
XYZxyz(0.2680, 0.1709, 0.7282)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080315 #101503
analogous
#030715 #080315 #110315
triadic
#080315 #150803 #031508
tetradic
#080315 #150307 #101503 #031511
square
#080315 #150307 #101503 #031511
split-complementary
#080315 #151103 #071503
monochromatic
#0A041B #0A041B #0A041B #1C0B4B #311280

Accessibility & contrast

On white

20.31
#080315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080315
20.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080315#FFFFFF#000000##FFFFFF
##0803151.0020.311.0320.31
#FFFFFF20.311.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000616
Deuteranopia (green-blind)
#000515
Tritanopia (blue-blind)
#05060A
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #080315;
/* rgb */ color: rgb(8, 3, 21);
/* oklch */ color: oklch(12.4% 0.044 295.9);
Tailwind
colors: {
  custom: {
    50: '#4a4852',
    500: '#080315',
    950: '#000000',
  },
}
SCSS
$custom: #080315;
$custom-light: #4a4852;
$custom-dark: #000000;
JSON
{
  "hex": "#080315",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 21
  },
  "hsl": {
    "h": 256.667,
    "s": 75,
    "l": 4.706
  },
  "oklch": {
    "l": 0.12422,
    "c": 0.04363,
    "h": 295.9
  },
  "luminance": 0.00171
}

Semantic roles & 50–950 ramp

primary
#080315
secondary
#47581C
accent
#F236BE
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010002
muted
#777778

Preview Lab

Preview with #080315

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

Preview Lab → · Contrast checker → · Palette generator →

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