#150012#150012

#150012 is a very dark, moderate purple. Relative luminance 0.002; OKLCH L 13.5% C 0.060 H 333.5°. Best body text is #FFFFFF at 20.18:1 contrast (WCAG AA passes).

Color values

HEX#150012
RGBrgb(21, 0, 18)
HSLhsl(309, 100%, 4%)
HSVhsv(309, 100%, 8%)
CMYKcmyk(0%, 100%, 14.3%, 91.8%)
CIE-LABlab(1.83, 9.23, -5.27)
CIE-LCHlch(1.83, 10.63, 330.30°)
OKLaboklab(13.48% 0.054 -0.0269)
OKLCHoklch(13.48% 0.06 333.5)
XYZxyz(0.4184, 0.2031, 0.5893)
Luminance0.0020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150012 #001503
analogous
#0E0015 #150012 #150008
triadic
#150012 #121500 #001215
tetradic
#150012 #150E00 #001503 #000815
square
#150012 #150E00 #001503 #000815
split-complementary
#150012 #081500 #00150E
monochromatic
#1F001A #1F001A #1F001A #520046 #8F007B

Accessibility & contrast

On white

20.18
#150012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150012
20.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150012#FFFFFF#000000##FFFFFF
##1500121.0020.181.0420.18
#FFFFFF20.181.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000513
Deuteranopia (green-blind)
#050811
Tritanopia (blue-blind)
#170106
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #150012;
/* rgb */ color: rgb(21, 0, 18);
/* oklch */ color: oklch(13.5% 0.060 333.5);
Tailwind
colors: {
  custom: {
    50: '#51464f',
    500: '#150012',
    950: '#000000',
  },
}
SCSS
$custom: #150012;
$custom-light: #51464f;
$custom-dark: #000000;
JSON
{
  "hex": "#150012",
  "rgb": {
    "r": 21,
    "g": 0,
    "b": 18
  },
  "hsl": {
    "h": 308.571,
    "s": 100,
    "l": 4.118
  },
  "oklch": {
    "l": 0.1348,
    "c": 0.06038,
    "h": 333.5
  },
  "luminance": 0.00203
}

Semantic roles & 50–950 ramp

primary
#150012
secondary
#11601C
accent
#FF4729
background
#F4F3F4
surface
#E7E5E7
border
#C3C1C3
text
#020002
muted
#787778

Preview Lab

Preview with #150012

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

Preview Lab → · Contrast checker → · Palette generator →

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