#080128#080128

#080128 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.1% C 0.079 H 282.3°. Best body text is #FFFFFF at 20.09:1 contrast (WCAG AA passes).

Color values

HEX#080128
RGBrgb(8, 1, 40)
HSLhsl(251, 95%, 8%)
HSVhsv(251, 98%, 16%)
CMYKcmyk(80%, 97.5%, 0%, 84.3%)
CIE-LABlab(2.05, 11.41, -21.87)
CIE-LCHlch(2.05, 24.67, 297.56°)
OKLaboklab(14.11% 0.0169 -0.077)
OKLCHoklch(14.11% 0.079 282.3)
XYZxyz(0.4939, 0.2265, 2.0248)
Luminance0.0023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080128 #212801
analogous
#010D28 #080128 #1B0128
triadic
#080128 #280801 #012808
tetradic
#080128 #28010D #212801 #01281B
square
#080128 #28010D #212801 #01281B
split-complementary
#080128 #281B01 #0D2801
monochromatic
#06011E #06011E #080128 #140264 #20049F

Accessibility & contrast

On white

20.09
#080128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#080128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##080128#FFFFFF#000000##FFFFFF
##0801281.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)
#000929
Deuteranopia (green-blind)
#000627
Tritanopia (blue-blind)
#000B13
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #080128;
/* rgb */ color: rgb(8, 1, 40);
/* oklch */ color: oklch(14.1% 0.079 282.3);
Tailwind
colors: {
  custom: {
    50: '#4a4762',
    500: '#080128',
    950: '#000000',
  },
}
SCSS
$custom: #080128;
$custom-light: #4a4762;
$custom-dark: #000000;
JSON
{
  "hex": "#080128",
  "rgb": {
    "r": 8,
    "g": 1,
    "b": 40
  },
  "hsl": {
    "h": 250.769,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.14109,
    "c": 0.07888,
    "h": 282.3
  },
  "luminance": 0.00227
}

Semantic roles & 50–950 ramp

primary
#080128
secondary
#5F6F16
accent
#FF29D9
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #080128

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

Preview Lab → · Contrast checker → · Palette generator →

#080128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva