#080224#080224

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

Color values

HEX#080224
RGBrgb(8, 2, 36)
HSLhsl(251, 89%, 7%)
HSVhsv(251, 94%, 14%)
CMYKcmyk(77.8%, 94.4%, 0%, 85.9%)
CIE-LABlab(2.01, 9.37, -18.82)
CIE-LCHlch(2.01, 21.03, 296.47°)
OKLaboklab(13.88% 0.0171 -0.0685)
OKLCHoklch(13.88% 0.071 284)
XYZxyz(0.4402, 0.2224, 1.6885)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080224 #1E2402
analogous
#020D24 #080224 #190224
triadic
#080224 #240802 #022408
tetradic
#080224 #24020D #1E2402 #022419
square
#080224 #24020D #1E2402 #022419
split-complementary
#080224 #241902 #0D2402
monochromatic
#06021D #06021D #080224 #15055E #220898

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##080224#FFFFFF#000000##FFFFFF
##0802241.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)
#000825
Deuteranopia (green-blind)
#000623
Tritanopia (blue-blind)
#000A11
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #080224;
/* rgb */ color: rgb(8, 2, 36);
/* oklch */ color: oklch(13.9% 0.071 284.0);
Tailwind
colors: {
  custom: {
    50: '#4a475e',
    500: '#080224',
    950: '#000000',
  },
}
SCSS
$custom: #080224;
$custom-light: #4a475e;
$custom-dark: #000000;
JSON
{
  "hex": "#080224",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 36
  },
  "hsl": {
    "h": 250.588,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.13875,
    "c": 0.07061,
    "h": 284
  },
  "luminance": 0.00222
}

Semantic roles & 50–950 ramp

primary
#080224
secondary
#5B6A18
accent
#FF29D9
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #080224

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

Preview Lab → · Contrast checker → · Palette generator →

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