#150526#150526

#150526 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.8% C 0.067 H 302.6°. Best body text is #FFFFFF at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#150526
RGBrgb(21, 5, 38)
HSLhsl(269, 77%, 8%)
HSVhsv(269, 87%, 15%)
CMYKcmyk(44.7%, 86.8%, 0%, 85.1%)
CIE-LABlab(3.68, 13.34, -17.70)
CIE-LCHlch(3.68, 22.17, 306.99°)
OKLaboklab(16.78% 0.0359 -0.056)
OKLCHoklch(16.78% 0.067 302.6)
XYZxyz(0.7133, 0.4079, 1.8745)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150526 #162605
analogous
#050526 #150526 #250526
triadic
#150526 #261505 #052615
tetradic
#150526 #260505 #162605 #052625
square
#150526 #260505 #162605 #052625
split-complementary
#150526 #262505 #052605
monochromatic
#0F041B #0F041B #150526 #330C5C #511392

Accessibility & contrast

On white

19.42
#150526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150526
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150526#FFFFFF#000000##FFFFFF
##1505261.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D27
Deuteranopia (green-blind)
#000D25
Tritanopia (blue-blind)
#120C14
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #150526;
/* rgb */ color: rgb(21, 5, 38);
/* oklch */ color: oklch(16.8% 0.067 302.6);
Tailwind
colors: {
  custom: {
    50: '#524860',
    500: '#150526',
    950: '#000000',
  },
}
SCSS
$custom: #150526;
$custom-light: #524860;
$custom-dark: #000000;
JSON
{
  "hex": "#150526",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 38
  },
  "hsl": {
    "h": 269.091,
    "s": 76.744,
    "l": 8.431
  },
  "oklch": {
    "l": 0.16776,
    "c": 0.06653,
    "h": 302.6
  },
  "luminance": 0.00408
}

Semantic roles & 50–950 ramp

primary
#150526
secondary
#44681F
accent
#F33597
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020005
muted
#787779

Preview Lab

Preview with #150526

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

Preview Lab → · Contrast checker → · Palette generator →

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