#08010F#08010F

#08010F is a very dark, muted violet. Relative luminance 0.001; OKLCH L 10.8% C 0.044 H 310.2°. Best body text is #FFFFFF at 20.56:1 contrast (WCAG AA passes).

Color values

HEX#08010F
RGBrgb(8, 1, 15)
HSLhsl(270, 88%, 3%)
HSVhsv(270, 93%, 6%)
CMYKcmyk(46.7%, 93.3%, 0%, 94.1%)
CIE-LABlab(0.97, 3.88, -4.93)
CIE-LCHlch(0.97, 6.28, 308.19°)
OKLaboklab(10.81% 0.0284 -0.0336)
OKLCHoklch(10.81% 0.044 310.2)
XYZxyz(0.1972, 0.1078, 0.4623)
Luminance0.0011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08010F #080F01
analogous
#01010F #08010F #0F010F
triadic
#08010F #0F0801 #010F08
tetradic
#08010F #0F0101 #080F01 #010F0F
square
#08010F #0F0101 #080F01 #010F0F
split-complementary
#08010F #0F0F01 #010F01
monochromatic
#0F021D #0F021D #0F021D #270548 #450982

Accessibility & contrast

On white

20.56
#08010F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#08010F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08010F
20.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08010F#FFFFFF#000000##FFFFFF
##08010F1.0020.561.0220.56
#FFFFFF20.561.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000310
Deuteranopia (green-blind)
#00040F
Tritanopia (blue-blind)
#070306
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #08010f;
/* rgb */ color: rgb(8, 1, 15);
/* oklch */ color: oklch(10.8% 0.044 310.2);
Tailwind
colors: {
  custom: {
    50: '#4a474e',
    500: '#08010f',
    950: '#000000',
  },
}
SCSS
$custom: #08010f;
$custom-light: #4a474e;
$custom-dark: #000000;
JSON
{
  "hex": "#08010f",
  "rgb": {
    "r": 8,
    "g": 1,
    "b": 15
  },
  "hsl": {
    "h": 270,
    "s": 87.5,
    "l": 3.137
  },
  "oklch": {
    "l": 0.10812,
    "c": 0.04404,
    "h": 310.2
  },
  "luminance": 0.00108
}

Semantic roles & 50–950 ramp

primary
#08010F
secondary
#365715
accent
#FE2A94
background
#F4F3F4
surface
#E7E5E7
border
#C3C1C3
text
#010001
muted
#777777

Preview Lab

Preview with #08010F

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

Preview Lab → · Contrast checker → · Palette generator →

#08010F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva