#08002C#08002C

#08002C is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.4% C 0.087 H 280.7°. Best body text is #FFFFFF at 20.06:1 contrast (WCAG AA passes).

Color values

HEX#08002C
RGBrgb(8, 0, 44)
HSLhsl(251, 100%, 9%)
HSVhsv(251, 100%, 17%)
CMYKcmyk(81.8%, 100%, 0%, 82.7%)
CIE-LABlab(2.11, 13.63, -24.84)
CIE-LCHlch(2.11, 28.34, 298.76°)
OKLaboklab(14.39% 0.0161 -0.0851)
OKLCHoklch(14.39% 0.087 280.7)
XYZxyz(0.5546, 0.2334, 2.3982)
Luminance0.0023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08002C #242C00
analogous
#000E2C #08002C #1E002C
triadic
#08002C #2C0800 #002C08
tetradic
#08002C #2C000E #242C00 #002C1E
square
#08002C #2C000E #242C00 #002C1E
split-complementary
#08002C #2C1E00 #0E2C00
monochromatic
#06001F #06001F #08002C #130069 #1E00A6

Accessibility & contrast

On white

20.06
#08002C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#08002C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08002C
20.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08002C#FFFFFF#000000##FFFFFF
##08002C1.0020.061.0520.06
#FFFFFF20.061.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00092D
Deuteranopia (green-blind)
#00062B
Tritanopia (blue-blind)
#000C15
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #08002c;
/* rgb */ color: rgb(8, 0, 44);
/* oklch */ color: oklch(14.4% 0.087 280.7);
Tailwind
colors: {
  custom: {
    50: '#4b4665',
    500: '#08002c',
    950: '#000000',
  },
}
SCSS
$custom: #08002c;
$custom-light: #4b4665;
$custom-dark: #000000;
JSON
{
  "hex": "#08002c",
  "rgb": {
    "r": 8,
    "g": 0,
    "b": 44
  },
  "hsl": {
    "h": 250.909,
    "s": 100,
    "l": 8.627
  },
  "oklch": {
    "l": 0.14393,
    "c": 0.08663,
    "h": 280.7
  },
  "luminance": 0.00233
}

Semantic roles & 50–950 ramp

primary
#08002C
secondary
#627314
accent
#FF29D8
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #08002C

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

Preview Lab → · Contrast checker → · Palette generator →

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