#090028#090028

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

Color values

HEX#090028
RGBrgb(9, 0, 40)
HSLhsl(254, 100%, 8%)
HSVhsv(254, 100%, 16%)
CMYKcmyk(77.5%, 100%, 0%, 84.3%)
CIE-LABlab(1.91, 12.07, -22.08)
CIE-LCHlch(1.91, 25.17, 298.67°)
OKLaboklab(13.91% 0.0209 -0.0786)
OKLCHoklch(13.91% 0.081 284.9)
XYZxyz(0.4955, 0.2112, 2.0217)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090028 #1F2800
analogous
#000B28 #090028 #1D0028
triadic
#090028 #280900 #002809
tetradic
#090028 #28000B #1F2800 #00281D
square
#090028 #28000B #1F2800 #00281D
split-complementary
#090028 #281D00 #0B2800
monochromatic
#07001F #07001F #090028 #170065 #2500A2

Accessibility & contrast

On white

20.15
#090028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #090028
20.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090028#FFFFFF#000000##FFFFFF
##0900281.0020.151.0420.15
#FFFFFF20.151.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #090028;
/* rgb */ color: rgb(9, 0, 40);
/* oklch */ color: oklch(13.9% 0.081 284.9);
Tailwind
colors: {
  custom: {
    50: '#4b4662',
    500: '#090028',
    950: '#000000',
  },
}
SCSS
$custom: #090028;
$custom-light: #4b4662;
$custom-dark: #000000;
JSON
{
  "hex": "#090028",
  "rgb": {
    "r": 9,
    "g": 0,
    "b": 40
  },
  "hsl": {
    "h": 253.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.13909,
    "c": 0.08134,
    "h": 284.9
  },
  "luminance": 0.00211
}

Semantic roles & 50–950 ramp

primary
#090028
secondary
#5B7014
accent
#FF29CF
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #090028

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

Preview Lab → · Contrast checker → · Palette generator →

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