#15071F#15071F

#15071F is a very dark, muted violet. Relative luminance 0.004; OKLCH L 16.6% C 0.051 H 309.0°. Best body text is #FFFFFF at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#15071F
RGBrgb(21, 7, 31)
HSLhsl(275, 63%, 7%)
HSVhsv(275, 77%, 12%)
CMYKcmyk(32.3%, 77.4%, 0%, 87.8%)
CIE-LABlab(3.71, 9.93, -12.22)
CIE-LCHlch(3.71, 15.75, 309.11°)
OKLaboklab(16.61% 0.0323 -0.0399)
OKLCHoklch(16.61% 0.051 309)
XYZxyz(0.6325, 0.4103, 1.3419)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15071F #111F07
analogous
#09071F #15071F #1F071D
triadic
#15071F #1F1507 #071F15
tetradic
#15071F #1F0907 #111F07 #071D1F
square
#15071F #1F0907 #111F07 #071D1F
split-complementary
#15071F #1D1F07 #071F09
monochromatic
#110619 #110619 #15071F #371251 #591E83

Accessibility & contrast

On white

19.41
#15071F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#15071F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15071F
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15071F#FFFFFF#000000##FFFFFF
##15071F1.0019.411.0819.41
#FFFFFF19.411.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020D20
Deuteranopia (green-blind)
#050D1E
Tritanopia (blue-blind)
#140B11
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #15071f;
/* rgb */ color: rgb(21, 7, 31);
/* oklch */ color: oklch(16.6% 0.051 309.0);
Tailwind
colors: {
  custom: {
    50: '#514a5a',
    500: '#15071f',
    950: '#000000',
  },
}
SCSS
$custom: #15071f;
$custom-light: #514a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#15071f",
  "rgb": {
    "r": 21,
    "g": 7,
    "b": 31
  },
  "hsl": {
    "h": 275,
    "s": 63.158,
    "l": 7.451
  },
  "oklch": {
    "l": 0.16605,
    "c": 0.05136,
    "h": 309
  },
  "luminance": 0.0041
}

Semantic roles & 50–950 ramp

primary
#15071F
secondary
#3C5E24
accent
#E64286
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020103
muted
#787778

Preview Lab

Preview with #15071F

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

Preview Lab → · Contrast checker → · Palette generator →

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