#08002B#08002B

#08002B is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.2% C 0.085 H 281.3°. Best body text is #FFFFFF at 20.09:1 contrast (WCAG AA passes).

Color values

HEX#08002B
RGBrgb(8, 0, 43)
HSLhsl(251, 100%, 8%)
HSVhsv(251, 100%, 17%)
CMYKcmyk(81.4%, 100%, 0%, 83.1%)
CIE-LABlab(2.04, 13.16, -24.18)
CIE-LCHlch(2.04, 27.53, 298.55°)
OKLaboklab(14.24% 0.0167 -0.0837)
OKLCHoklch(14.24% 0.085 281.3)
XYZxyz(0.5360, 0.2260, 2.3004)
Luminance0.0023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08002B #232B00
analogous
#000D2B #08002B #1D002B
triadic
#08002B #2B0800 #002B08
tetradic
#08002B #2B000D #232B00 #002B1D
square
#08002B #2B000D #232B00 #002B1D
split-complementary
#08002B #2B1D00 #0D2B00
monochromatic
#06001F #06001F #08002B #130068 #1F00A5

Accessibility & contrast

On white

20.09
#08002B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08002B
20.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08002B#FFFFFF#000000##FFFFFF
##08002B1.0020.091.0520.09
#FFFFFF20.091.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00092C
Deuteranopia (green-blind)
#00062A
Tritanopia (blue-blind)
#000B15
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #08002b;
/* rgb */ color: rgb(8, 0, 43);
/* oklch */ color: oklch(14.2% 0.085 281.3);
Tailwind
colors: {
  custom: {
    50: '#4b4664',
    500: '#08002b',
    950: '#000000',
  },
}
SCSS
$custom: #08002b;
$custom-light: #4b4664;
$custom-dark: #000000;
JSON
{
  "hex": "#08002b",
  "rgb": {
    "r": 8,
    "g": 0,
    "b": 43
  },
  "hsl": {
    "h": 251.163,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.14237,
    "c": 0.08535,
    "h": 281.3
  },
  "luminance": 0.00226
}

Semantic roles & 50–950 ramp

primary
#08002B
secondary
#617314
accent
#FF29D7
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010005
muted
#77777A

Preview Lab

Preview with #08002B

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

Preview Lab → · Contrast checker → · Palette generator →

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