#08050F#08050F

#08050F is a very dark, muted violet. Relative luminance 0.002; OKLCH L 12.7% C 0.025 H 299.1°. Best body text is #FFFFFF at 20.21:1 contrast (WCAG AA passes).

Color values

HEX#08050F
RGBrgb(8, 5, 15)
HSLhsl(258, 50%, 4%)
HSVhsv(258, 67%, 6%)
CMYKcmyk(46.7%, 66.7%, 0%, 94.1%)
CIE-LABlab(1.76, 2.28, -3.79)
CIE-LCHlch(1.76, 4.42, 301.00°)
OKLaboklab(12.71% 0.0121 -0.0216)
OKLCHoklch(12.71% 0.025 299.1)
XYZxyz(0.2406, 0.1947, 0.4767)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08050F #0C0F05
analogous
#05070F #08050F #0D050F
triadic
#08050F #0F0805 #050F08
tetradic
#08050F #0F0507 #0C0F05 #050F0D
square
#08050F #0F0507 #0C0F05 #050F0D
split-complementary
#08050F #0F0D05 #070F05
monochromatic
#0C0817 #0C0817 #0C0817 #20143D #39246B

Accessibility & contrast

On white

20.21
#08050F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#08050F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08050F
20.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08050F#FFFFFF#000000##FFFFFF
##08050F1.0020.211.0420.21
#FFFFFF20.211.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03060F
Deuteranopia (green-blind)
#04060F
Tritanopia (blue-blind)
#070608
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #08050f;
/* rgb */ color: rgb(8, 5, 15);
/* oklch */ color: oklch(12.7% 0.025 299.1);
Tailwind
colors: {
  custom: {
    50: '#4a494e',
    500: '#08050f',
    950: '#000000',
  },
}
SCSS
$custom: #08050f;
$custom-light: #4a494e;
$custom-dark: #000000;
JSON
{
  "hex": "#08050f",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 15
  },
  "hsl": {
    "h": 258,
    "s": 50,
    "l": 3.922
  },
  "oklch": {
    "l": 0.12714,
    "c": 0.02475,
    "h": 299.1
  },
  "luminance": 0.00195
}

Semantic roles & 50–950 ramp

primary
#08050F
secondary
#404B24
accent
#DA4EB0
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #08050F

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

Preview Lab → · Contrast checker → · Palette generator →

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