#08031E#08031E

#08031E is a very dark, muted violet. Relative luminance 0.002; OKLCH L 13.4% C 0.059 H 287.1°. Best body text is #FFFFFF at 20.15:1 contrast (WCAG AA passes).

Color values

HEX#08031E
RGBrgb(8, 3, 30)
HSLhsl(251, 82%, 6%)
HSVhsv(251, 90%, 12%)
CMYKcmyk(73.3%, 90%, 0%, 88.2%)
CIE-LABlab(1.90, 6.84, -14.24)
CIE-LCHlch(1.90, 15.80, 295.64°)
OKLaboklab(13.45% 0.0172 -0.056)
OKLCHoklch(13.45% 0.059 287.1)
XYZxyz(0.3670, 0.2105, 1.2493)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08031E #191E03
analogous
#030C1E #08031E #16031E
triadic
#08031E #1E0803 #031E08
tetradic
#08031E #1E030C #191E03 #031E16
square
#08031E #1E030C #191E03 #031E16
split-complementary
#08031E #1E1603 #0C1E03
monochromatic
#07031C #07031C #08031E #170956 #260E8D

Accessibility & contrast

On white

20.15
#08031E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#08031E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08031E
20.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08031E#FFFFFF#000000##FFFFFF
##08031E1.0020.151.0420.15
#FFFFFF20.151.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00081F
Deuteranopia (green-blind)
#00061D
Tritanopia (blue-blind)
#02080F
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #08031e;
/* rgb */ color: rgb(8, 3, 30);
/* oklch */ color: oklch(13.4% 0.059 287.1);
Tailwind
colors: {
  custom: {
    50: '#4a4859',
    500: '#08031e',
    950: '#000000',
  },
}
SCSS
$custom: #08031e;
$custom-light: #4a4859;
$custom-dark: #000000;
JSON
{
  "hex": "#08031e",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 30
  },
  "hsl": {
    "h": 251.111,
    "s": 81.818,
    "l": 6.471
  },
  "oklch": {
    "l": 0.13448,
    "c": 0.05859,
    "h": 287.1
  },
  "luminance": 0.0021
}

Semantic roles & 50–950 ramp

primary
#08031E
secondary
#55621B
accent
#F830D3
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #08031E

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

Preview Lab → · Contrast checker → · Palette generator →

#08031E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva