#090021#090021

#090021 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 12.9% C 0.073 H 290.5°. Best body text is #FFFFFF at 20.32:1 contrast (WCAG AA passes).

Color values

HEX#090021
RGBrgb(9, 0, 33)
HSLhsl(256, 100%, 6%)
HSVhsv(256, 100%, 13%)
CMYKcmyk(72.7%, 100%, 0%, 87.1%)
CIE-LABlab(1.52, 9.32, -17.21)
CIE-LCHlch(1.52, 19.57, 298.44°)
OKLaboklab(12.86% 0.0254 -0.068)
OKLCHoklch(12.86% 0.073 290.5)
XYZxyz(0.3871, 0.1679, 1.4506)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090021 #182100
analogous
#000821 #090021 #1A0021
triadic
#090021 #210900 #002109
tetradic
#090021 #210008 #182100 #00211A
square
#090021 #210008 #182100 #00211A
split-complementary
#090021 #211A00 #082100
monochromatic
#08001F #08001F #090021 #1A005E #2A009B

Accessibility & contrast

On white

20.32
#090021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#090021 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #090021
20.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090021#FFFFFF#000000##FFFFFF
##0900211.0020.321.0320.32
#FFFFFF20.321.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000622
Deuteranopia (green-blind)
#000520
Tritanopia (blue-blind)
#02070F
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #090021;
/* rgb */ color: rgb(9, 0, 33);
/* oklch */ color: oklch(12.9% 0.073 290.5);
Tailwind
colors: {
  custom: {
    50: '#4a475c',
    500: '#090021',
    950: '#000000',
  },
}
SCSS
$custom: #090021;
$custom-light: #4a475c;
$custom-dark: #000000;
JSON
{
  "hex": "#090021",
  "rgb": {
    "r": 9,
    "g": 0,
    "b": 33
  },
  "hsl": {
    "h": 256.364,
    "s": 100,
    "l": 6.471
  },
  "oklch": {
    "l": 0.12864,
    "c": 0.07257,
    "h": 290.5
  },
  "luminance": 0.00168
}

Semantic roles & 50–950 ramp

primary
#090021
secondary
#526A13
accent
#FF29C5
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #090021

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

Preview Lab → · Contrast checker → · Palette generator →

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