#15071E#15071E

#15071E is a very dark, muted violet. Relative luminance 0.004; OKLCH L 16.5% C 0.050 H 310.4°. Best body text is #FFFFFF at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#15071E
RGBrgb(21, 7, 30)
HSLhsl(277, 62%, 7%)
HSVhsv(277, 77%, 12%)
CMYKcmyk(30%, 76.7%, 0%, 88.2%)
CIE-LABlab(3.66, 9.60, -11.50)
CIE-LCHlch(3.66, 14.99, 309.86°)
OKLaboklab(16.52% 0.0323 -0.0379)
OKLCHoklch(16.52% 0.05 310.4)
XYZxyz(0.6195, 0.4051, 1.2736)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15071E #101E07
analogous
#0A071E #15071E #1E071C
triadic
#15071E #1E1507 #071E15
tetradic
#15071E #1E0A07 #101E07 #071C1E
square
#15071E #1E0A07 #101E07 #071C1E
split-complementary
#15071E #1C1E07 #071E0A
monochromatic
#110619 #110619 #15071E #381350 #5A1E81

Accessibility & contrast

On white

19.43
#15071E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15071E
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15071E#FFFFFF#000000##FFFFFF
##15071E1.0019.431.0819.43
#FFFFFF19.431.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15071e;
/* rgb */ color: rgb(21, 7, 30);
/* oklch */ color: oklch(16.5% 0.050 310.4);
Tailwind
colors: {
  custom: {
    50: '#514a59',
    500: '#15071e',
    950: '#000000',
  },
}
SCSS
$custom: #15071e;
$custom-light: #514a59;
$custom-dark: #000000;
JSON
{
  "hex": "#15071e",
  "rgb": {
    "r": 21,
    "g": 7,
    "b": 30
  },
  "hsl": {
    "h": 276.522,
    "s": 62.162,
    "l": 7.255
  },
  "oklch": {
    "l": 0.16522,
    "c": 0.04984,
    "h": 310.4
  },
  "luminance": 0.00405
}

Semantic roles & 50–950 ramp

primary
#15071E
secondary
#3A5C24
accent
#E54382
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020103
muted
#787778

Preview Lab

Preview with #15071E

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

Preview Lab → · Contrast checker → · Palette generator →

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