#09001F#09001F

#09001F is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 12.6% C 0.070 H 292.4°. Best body text is #FFFFFF at 20.36:1 contrast (WCAG AA passes).

Color values

HEX#09001F
RGBrgb(9, 0, 31)
HSLhsl(257, 100%, 6%)
HSVhsv(257, 100%, 12%)
CMYKcmyk(71%, 100%, 0%, 87.8%)
CIE-LABlab(1.42, 8.63, -15.77)
CIE-LCHlch(1.42, 17.97, 298.69°)
OKLaboklab(12.57% 0.0267 -0.0648)
OKLCHoklch(12.57% 0.07 292.4)
XYZxyz(0.3599, 0.1570, 1.3074)
Luminance0.0016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#09001F #161F00
analogous
#00061F #09001F #18001F
triadic
#09001F #1F0900 #001F09
tetradic
#09001F #1F0006 #161F00 #001F18
square
#09001F #1F0006 #161F00 #001F18
split-complementary
#09001F #1F1800 #061F00
monochromatic
#09001F #09001F #09001F #1B005C #2D0099

Accessibility & contrast

On white

20.36
#09001F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#09001F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #09001F
20.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##09001F#FFFFFF#000000##FFFFFF
##09001F1.0020.361.0320.36
#FFFFFF20.361.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000620
Deuteranopia (green-blind)
#00051E
Tritanopia (blue-blind)
#03060D
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #09001f;
/* rgb */ color: rgb(9, 0, 31);
/* oklch */ color: oklch(12.6% 0.070 292.4);
Tailwind
colors: {
  custom: {
    50: '#4a475a',
    500: '#09001f',
    950: '#000000',
  },
}
SCSS
$custom: #09001f;
$custom-light: #4a475a;
$custom-dark: #000000;
JSON
{
  "hex": "#09001f",
  "rgb": {
    "r": 9,
    "g": 0,
    "b": 31
  },
  "hsl": {
    "h": 257.419,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.12573,
    "c": 0.0701,
    "h": 292.4
  },
  "luminance": 0.00157
}

Semantic roles & 50–950 ramp

primary
#09001F
secondary
#4F6812
accent
#FF29C1
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #09001F

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

Preview Lab → · Contrast checker → · Palette generator →

#09001F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva