#150520#150520

#150520 is a very dark, muted violet. Relative luminance 0.004; OKLCH L 16.2% C 0.058 H 309.3°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#150520
RGBrgb(21, 5, 32)
HSLhsl(276, 73%, 7%)
HSVhsv(276, 84%, 13%)
CMYKcmyk(34.4%, 84.4%, 0%, 87.5%)
CIE-LABlab(3.36, 11.07, -13.53)
CIE-LCHlch(3.36, 17.48, 309.30°)
OKLaboklab(16.2% 0.0368 -0.045)
OKLCHoklch(16.2% 0.058 309.3)
XYZxyz(0.6242, 0.3723, 1.4052)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150520 #102005
analogous
#080520 #150520 #20051E
triadic
#150520 #201505 #052015
tetradic
#150520 #200805 #102005 #051E20
square
#150520 #200805 #102005 #051E20
split-complementary
#150520 #1E2005 #052008
monochromatic
#11041A #11041A #150520 #380D55 #5A168A

Accessibility & contrast

On white

19.55
#150520 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#150520 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150520
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150520#FFFFFF#000000##FFFFFF
##1505201.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B21
Deuteranopia (green-blind)
#030C1F
Tritanopia (blue-blind)
#130A11
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #150520;
/* rgb */ color: rgb(21, 5, 32);
/* oklch */ color: oklch(16.2% 0.058 309.3);
Tailwind
colors: {
  custom: {
    50: '#51495b',
    500: '#150520',
    950: '#000000',
  },
}
SCSS
$custom: #150520;
$custom-light: #51495b;
$custom-dark: #000000;
JSON
{
  "hex": "#150520",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 32
  },
  "hsl": {
    "h": 275.556,
    "s": 72.973,
    "l": 7.255
  },
  "oklch": {
    "l": 0.16201,
    "c": 0.05809,
    "h": 309.3
  },
  "luminance": 0.00372
}

Semantic roles & 50–950 ramp

primary
#150520
secondary
#3A6120
accent
#F03883
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #150520

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

Preview Lab → · Contrast checker → · Palette generator →

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