#15041B#15041B

#15041B is a very dark, muted purple. Relative luminance 0.003; OKLCH L 15.5% C 0.054 H 317.0°. Best body text is #FFFFFF at 19.72:1 contrast (WCAG AA passes).

Color values

HEX#15041B
RGBrgb(21, 4, 27)
HSLhsl(284, 74%, 6%)
HSVhsv(284, 85%, 11%)
CMYKcmyk(22.2%, 85.2%, 0%, 89.4%)
CIE-LABlab(2.94, 9.88, -10.19)
CIE-LCHlch(2.94, 14.20, 314.11°)
OKLaboklab(15.5% 0.0396 -0.037)
OKLCHoklch(15.5% 0.054 317)
XYZxyz(0.5505, 0.3254, 1.0705)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15041B #0A1B04
analogous
#09041B #15041B #1B0415
triadic
#15041B #1B1504 #041B15
tetradic
#15041B #1B0904 #0A1B04 #04151B
square
#15041B #1B0904 #0A1B04 #04151B
split-complementary
#15041B #151B04 #041B09
monochromatic
#15041B #15041B #15041B #3E0C50 #681486

Accessibility & contrast

On white

19.72
#15041B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#15041B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15041B
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15041B#FFFFFF#000000##FFFFFF
##15041B1.0019.721.0719.72
#FFFFFF19.721.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010A1C
Deuteranopia (green-blind)
#040B1A
Tritanopia (blue-blind)
#15070D
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #15041b;
/* rgb */ color: rgb(21, 4, 27);
/* oklch */ color: oklch(15.5% 0.054 317.0);
Tailwind
colors: {
  custom: {
    50: '#514857',
    500: '#15041b',
    950: '#000000',
  },
}
SCSS
$custom: #15041b;
$custom-light: #514857;
$custom-dark: #000000;
JSON
{
  "hex": "#15041b",
  "rgb": {
    "r": 21,
    "g": 4,
    "b": 27
  },
  "hsl": {
    "h": 284.348,
    "s": 74.194,
    "l": 6.078
  },
  "oklch": {
    "l": 0.15498,
    "c": 0.05423,
    "h": 317
  },
  "luminance": 0.00325
}

Semantic roles & 50–950 ramp

primary
#15041B
secondary
#2E5D1E
accent
#F13767
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020003
muted
#787778

Preview Lab

Preview with #15041B

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

Preview Lab → · Contrast checker → · Palette generator →

#15041B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva