#09012A#09012A

#09012A is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.5% C 0.081 H 282.9°. Best body text is #FFFFFF at 20.01:1 contrast (WCAG AA passes).

Color values

HEX#09012A
RGBrgb(9, 1, 42)
HSLhsl(252, 95%, 8%)
HSVhsv(252, 98%, 16%)
CMYKcmyk(78.6%, 97.6%, 0%, 83.5%)
CIE-LABlab(2.23, 12.56, -23.12)
CIE-LCHlch(2.23, 26.31, 298.52°)
OKLaboklab(14.53% 0.0181 -0.0793)
OKLCHoklch(14.53% 0.081 282.9)
XYZxyz(0.5413, 0.2469, 2.2092)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#09012A #222A01
analogous
#010D2A #09012A #1D012A
triadic
#09012A #2A0901 #012A09
tetradic
#09012A #2A010D #222A01 #012A1D
square
#09012A #2A010D #222A01 #012A1D
split-complementary
#09012A #2A1D01 #0D2A01
monochromatic
#06011E #06011E #09012A #160266 #2304A2

Accessibility & contrast

On white

20.01
#09012A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#09012A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #09012A
20.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##09012A#FFFFFF#000000##FFFFFF
##09012A1.0020.011.0520.01
#FFFFFF20.011.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00092B
Deuteranopia (green-blind)
#000729
Tritanopia (blue-blind)
#000B15
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #09012a;
/* rgb */ color: rgb(9, 1, 42);
/* oklch */ color: oklch(14.5% 0.081 282.9);
Tailwind
colors: {
  custom: {
    50: '#4b4764',
    500: '#09012a',
    950: '#000000',
  },
}
SCSS
$custom: #09012a;
$custom-light: #4b4764;
$custom-dark: #000000;
JSON
{
  "hex": "#09012a",
  "rgb": {
    "r": 9,
    "g": 1,
    "b": 42
  },
  "hsl": {
    "h": 251.707,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.1453,
    "c": 0.08137,
    "h": 282.9
  },
  "luminance": 0.00247
}

Semantic roles & 50–950 ramp

primary
#09012A
secondary
#5F7016
accent
#FF29D5
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010005
muted
#77777A

Preview Lab

Preview with #09012A

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

Preview Lab → · Contrast checker → · Palette generator →

#09012A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva