#150720#150720

#150720 is a very dark, muted violet. Relative luminance 0.004; OKLCH L 16.7% C 0.053 H 307.7°. Best body text is #FFFFFF at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#150720
RGBrgb(21, 7, 32)
HSLhsl(274, 64%, 8%)
HSVhsv(274, 78%, 13%)
CMYKcmyk(34.4%, 78.1%, 0%, 87.5%)
CIE-LABlab(3.75, 10.27, -12.93)
CIE-LCHlch(3.75, 16.52, 308.46°)
OKLaboklab(16.69% 0.0324 -0.0418)
OKLCHoklch(16.69% 0.053 307.7)
XYZxyz(0.6459, 0.4157, 1.4124)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150720 #122007
analogous
#080720 #150720 #20071E
triadic
#150720 #201507 #072015
tetradic
#150720 #200807 #122007 #071E20
square
#150720 #200807 #122007 #071E20
split-complementary
#150720 #1E2007 #072008
monochromatic
#100519 #100519 #150720 #361252 #571D84

Accessibility & contrast

On white

19.39
#150720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#150720 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150720
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150720#FFFFFF#000000##FFFFFF
##1507201.0019.391.0819.39
#FFFFFF19.391.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010D21
Deuteranopia (green-blind)
#040E1F
Tritanopia (blue-blind)
#130C12
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #150720;
/* rgb */ color: rgb(21, 7, 32);
/* oklch */ color: oklch(16.7% 0.053 307.7);
Tailwind
colors: {
  custom: {
    50: '#524a5b',
    500: '#150720',
    950: '#000000',
  },
}
SCSS
$custom: #150720;
$custom-light: #524a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#150720",
  "rgb": {
    "r": 21,
    "g": 7,
    "b": 32
  },
  "hsl": {
    "h": 273.6,
    "s": 64.103,
    "l": 7.647
  },
  "oklch": {
    "l": 0.16689,
    "c": 0.05288,
    "h": 307.7
  },
  "luminance": 0.00416
}

Semantic roles & 50–950 ramp

primary
#150720
secondary
#3E5F24
accent
#E7418A
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020104
muted
#787779

Preview Lab

Preview with #150720

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

Preview Lab → · Contrast checker → · Palette generator →

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