#080126#080126

#080126 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.8% C 0.076 H 283.6°. Best body text is #FFFFFF at 20.14:1 contrast (WCAG AA passes).

Color values

HEX#080126
RGBrgb(8, 1, 38)
HSLhsl(251, 95%, 8%)
HSVhsv(251, 97%, 15%)
CMYKcmyk(78.9%, 97.4%, 0%, 85.1%)
CIE-LABlab(1.93, 10.57, -20.51)
CIE-LCHlch(1.93, 23.08, 297.27°)
OKLaboklab(13.82% 0.0179 -0.074)
OKLCHoklch(13.82% 0.076 283.6)
XYZxyz(0.4607, 0.2132, 1.8502)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080126 #1F2601
analogous
#010D26 #080126 #1A0126
triadic
#080126 #260801 #012608
tetradic
#080126 #26010D #1F2601 #01261A
square
#080126 #26010D #1F2601 #01261A
split-complementary
#080126 #261A01 #0D2601
monochromatic
#06011E #06011E #080126 #150362 #21049D

Accessibility & contrast

On white

20.14
#080126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080126
20.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080126#FFFFFF#000000##FFFFFF
##0801261.0020.141.0420.14
#FFFFFF20.141.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000827
Deuteranopia (green-blind)
#000625
Tritanopia (blue-blind)
#000A12
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #080126;
/* rgb */ color: rgb(8, 1, 38);
/* oklch */ color: oklch(13.8% 0.076 283.6);
Tailwind
colors: {
  custom: {
    50: '#4a4760',
    500: '#080126',
    950: '#000000',
  },
}
SCSS
$custom: #080126;
$custom-light: #4a4760;
$custom-dark: #000000;
JSON
{
  "hex": "#080126",
  "rgb": {
    "r": 8,
    "g": 1,
    "b": 38
  },
  "hsl": {
    "h": 251.351,
    "s": 94.872,
    "l": 7.647
  },
  "oklch": {
    "l": 0.13816,
    "c": 0.07616,
    "h": 283.6
  },
  "luminance": 0.00213
}

Semantic roles & 50–950 ramp

primary
#080126
secondary
#5C6D16
accent
#FF29D6
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010005
muted
#777779

Preview Lab

Preview with #080126

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

Preview Lab → · Contrast checker → · Palette generator →

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