#080127#080127

#080127 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.0% C 0.078 H 283.0°. Best body text is #FFFFFF at 20.11:1 contrast (WCAG AA passes).

Color values

HEX#080127
RGBrgb(8, 1, 39)
HSLhsl(251, 95%, 8%)
HSVhsv(251, 97%, 15%)
CMYKcmyk(79.5%, 97.4%, 0%, 84.7%)
CIE-LABlab(1.99, 10.99, -21.19)
CIE-LCHlch(1.99, 23.87, 297.40°)
OKLaboklab(13.96% 0.0174 -0.0755)
OKLCHoklch(13.96% 0.078 283)
XYZxyz(0.4771, 0.2198, 1.9363)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080127 #202701
analogous
#010D27 #080127 #1B0127
triadic
#080127 #270801 #012708
tetradic
#080127 #27010D #202701 #01271B
square
#080127 #27010D #202701 #01271B
split-complementary
#080127 #271B01 #0D2701
monochromatic
#06011E #06011E #080127 #140363 #20049E

Accessibility & contrast

On white

20.11
#080127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#080127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080127
20.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080127#FFFFFF#000000##FFFFFF
##0801271.0020.111.0420.11
#FFFFFF20.111.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000828
Deuteranopia (green-blind)
#000626
Tritanopia (blue-blind)
#000A13
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #080127;
/* rgb */ color: rgb(8, 1, 39);
/* oklch */ color: oklch(14.0% 0.078 283.0);
Tailwind
colors: {
  custom: {
    50: '#4a4761',
    500: '#080127',
    950: '#000000',
  },
}
SCSS
$custom: #080127;
$custom-light: #4a4761;
$custom-dark: #000000;
JSON
{
  "hex": "#080127",
  "rgb": {
    "r": 8,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 251.053,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.13962,
    "c": 0.07752,
    "h": 283
  },
  "luminance": 0.0022
}

Semantic roles & 50–950 ramp

primary
#080127
secondary
#5E6E16
accent
#FF29D8
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #080127

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

Preview Lab → · Contrast checker → · Palette generator →

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