#080321#080321

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

Color values

HEX#080321
RGBrgb(8, 3, 33)
HSLhsl(250, 83%, 7%)
HSVhsv(250, 91%, 13%)
CMYKcmyk(75.8%, 90.9%, 0%, 87.1%)
CIE-LABlab(2.05, 7.86, -16.41)
CIE-LCHlch(2.05, 18.19, 295.59°)
OKLaboklab(13.82% 0.0163 -0.0612)
OKLCHoklch(13.82% 0.063 284.9)
XYZxyz(0.4071, 0.2265, 1.4608)
Luminance0.0023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080321 #1C2103
analogous
#030D21 #080321 #170321
triadic
#080321 #210803 #032108
tetradic
#080321 #21030D #1C2103 #032117
square
#080321 #21030D #1C2103 #032117
split-complementary
#080321 #211703 #0D2103
monochromatic
#07031C #07031C #080321 #160859 #230D91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##080321#FFFFFF#000000##FFFFFF
##0803211.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)
#000822
Deuteranopia (green-blind)
#000720
Tritanopia (blue-blind)
#010A10
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #080321;
/* rgb */ color: rgb(8, 3, 33);
/* oklch */ color: oklch(13.8% 0.063 284.9);
Tailwind
colors: {
  custom: {
    50: '#4a485c',
    500: '#080321',
    950: '#000000',
  },
}
SCSS
$custom: #080321;
$custom-light: #4a485c;
$custom-dark: #000000;
JSON
{
  "hex": "#080321",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 33
  },
  "hsl": {
    "h": 250,
    "s": 83.333,
    "l": 7.059
  },
  "oklch": {
    "l": 0.13821,
    "c": 0.06335,
    "h": 284.9
  },
  "luminance": 0.00227
}

Semantic roles & 50–950 ramp

primary
#080321
secondary
#59651B
accent
#FA2ED8
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #080321

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

Preview Lab → · Contrast checker → · Palette generator →

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