#08001C#08001C

#08001C is a very dark, moderate violet. Relative luminance 0.001; OKLCH L 12.0% C 0.066 H 293.3°. Best body text is #FFFFFF at 20.45:1 contrast (WCAG AA passes).

Color values

HEX#08001C
RGBrgb(8, 0, 28)
HSLhsl(257, 100%, 5%)
HSVhsv(257, 100%, 11%)
CMYKcmyk(71.4%, 100%, 0%, 89%)
CIE-LABlab(1.22, 7.41, -13.65)
CIE-LCHlch(1.22, 15.53, 298.50°)
OKLaboklab(11.97% 0.0263 -0.0609)
OKLCHoklch(11.97% 0.066 293.3)
XYZxyz(0.3097, 0.1355, 1.1082)
Luminance0.0014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08001C #141C00
analogous
#00061C #08001C #16001C
triadic
#08001C #1C0800 #001C08
tetradic
#08001C #1C0006 #141C00 #001C16
square
#08001C #1C0006 #141C00 #001C16
split-complementary
#08001C #1C1600 #061C00
monochromatic
#09001F #09001F #09001F #190059 #2B0096

Accessibility & contrast

On white

20.45
#08001C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#08001C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08001C
20.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08001C#FFFFFF#000000##FFFFFF
##08001C1.0020.451.0320.45
#FFFFFF20.451.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00051D
Deuteranopia (green-blind)
#00041B
Tritanopia (blue-blind)
#03050C
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #08001c;
/* rgb */ color: rgb(8, 0, 28);
/* oklch */ color: oklch(12.0% 0.066 293.3);
Tailwind
colors: {
  custom: {
    50: '#4a4757',
    500: '#08001c',
    950: '#000000',
  },
}
SCSS
$custom: #08001c;
$custom-light: #4a4757;
$custom-dark: #000000;
JSON
{
  "hex": "#08001c",
  "rgb": {
    "r": 8,
    "g": 0,
    "b": 28
  },
  "hsl": {
    "h": 257.143,
    "s": 100,
    "l": 5.49
  },
  "oklch": {
    "l": 0.11966,
    "c": 0.06637,
    "h": 293.3
  },
  "luminance": 0.00135
}

Semantic roles & 50–950 ramp

primary
#08001C
secondary
#4E6612
accent
#FF29C2
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010003
muted
#777778

Preview Lab

Preview with #08001C

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

Preview Lab → · Contrast checker → · Palette generator →

#08001C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva