#150524#150524

#150524 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.6% C 0.064 H 304.7°. Best body text is #FFFFFF at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#150524
RGBrgb(21, 5, 36)
HSLhsl(271, 76%, 8%)
HSVhsv(271, 86%, 14%)
CMYKcmyk(41.7%, 86.1%, 0%, 85.9%)
CIE-LABlab(3.57, 12.54, -16.33)
CIE-LCHlch(3.57, 20.59, 307.52°)
OKLaboklab(16.58% 0.0363 -0.0524)
OKLCHoklch(16.58% 0.064 304.7)
XYZxyz(0.6819, 0.3953, 1.7091)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150524 #142405
analogous
#050524 #150524 #240523
triadic
#150524 #241505 #052415
tetradic
#150524 #240505 #142405 #052324
square
#150524 #240505 #142405 #052324
split-complementary
#150524 #232405 #052405
monochromatic
#10041B #10041B #150524 #340C5A #54148F

Accessibility & contrast

On white

19.46
#150524 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150524
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150524#FFFFFF#000000##FFFFFF
##1505241.0019.461.0819.46
#FFFFFF19.461.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C25
Deuteranopia (green-blind)
#000D23
Tritanopia (blue-blind)
#120B13
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #150524;
/* rgb */ color: rgb(21, 5, 36);
/* oklch */ color: oklch(16.6% 0.064 304.7);
Tailwind
colors: {
  custom: {
    50: '#52495e',
    500: '#150524',
    950: '#000000',
  },
}
SCSS
$custom: #150524;
$custom-light: #52495e;
$custom-dark: #000000;
JSON
{
  "hex": "#150524",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 36
  },
  "hsl": {
    "h": 270.968,
    "s": 75.61,
    "l": 8.039
  },
  "oklch": {
    "l": 0.16578,
    "c": 0.06373,
    "h": 304.7
  },
  "luminance": 0.00395
}

Semantic roles & 50–950 ramp

primary
#150524
secondary
#41661F
accent
#F23691
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #150524

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

Preview Lab → · Contrast checker → · Palette generator →

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