#08012B#08012B

#08012B is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.6% C 0.083 H 280.6°. Best body text is #FFFFFF at 20.01:1 contrast (WCAG AA passes).

Color values

HEX#08012B
RGBrgb(8, 1, 43)
HSLhsl(250, 95%, 9%)
HSVhsv(250, 98%, 17%)
CMYKcmyk(81.4%, 97.7%, 0%, 83.1%)
CIE-LABlab(2.24, 12.76, -23.87)
CIE-LCHlch(2.24, 27.07, 298.12°)
OKLaboklab(14.55% 0.0153 -0.0815)
OKLCHoklch(14.55% 0.083 280.6)
XYZxyz(0.5469, 0.2477, 2.3040)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08012B #242B01
analogous
#010F2B #08012B #1D012B
triadic
#08012B #2B0801 #012B08
tetradic
#08012B #2B010F #242B01 #012B1D
square
#08012B #2B010F #242B01 #012B1D
split-complementary
#08012B #2B1D01 #0F2B01
monochromatic
#06011E #06011E #08012B #130267 #1E04A3

Accessibility & contrast

On white

20.01
#08012B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08012B
20.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08012B#FFFFFF#000000##FFFFFF
##08012B1.0020.011.0520.01
#FFFFFF20.011.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2C
Deuteranopia (green-blind)
#00072A
Tritanopia (blue-blind)
#000C15
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #08012b;
/* rgb */ color: rgb(8, 1, 43);
/* oklch */ color: oklch(14.6% 0.083 280.6);
Tailwind
colors: {
  custom: {
    50: '#4b4764',
    500: '#08012b',
    950: '#000000',
  },
}
SCSS
$custom: #08012b;
$custom-light: #4b4764;
$custom-dark: #000000;
JSON
{
  "hex": "#08012b",
  "rgb": {
    "r": 8,
    "g": 1,
    "b": 43
  },
  "hsl": {
    "h": 250,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.14553,
    "c": 0.08295,
    "h": 280.6
  },
  "luminance": 0.00248
}

Semantic roles & 50–950 ramp

primary
#08012B
secondary
#627117
accent
#FF29DB
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010005
muted
#77777A

Preview Lab

Preview with #08012B

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

Preview Lab → · Contrast checker → · Palette generator →

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