#150528#150528

#150528 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.0% C 0.069 H 300.7°. Best body text is #FFFFFF at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#150528
RGBrgb(21, 5, 40)
HSLhsl(267, 78%, 9%)
HSVhsv(267, 88%, 16%)
CMYKcmyk(47.5%, 87.5%, 0%, 84.3%)
CIE-LABlab(3.80, 14.18, -19.05)
CIE-LCHlch(3.80, 23.75, 306.65°)
OKLaboklab(16.98% 0.0354 -0.0596)
OKLCHoklch(16.98% 0.069 300.7)
XYZxyz(0.7464, 0.4212, 2.0490)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150528 #182805
analogous
#050728 #150528 #270528
triadic
#150528 #281505 #052815
tetradic
#150528 #280507 #182805 #052827
square
#150528 #280507 #182805 #052827
split-complementary
#150528 #282705 #072805
monochromatic
#0E031B #0E031B #150528 #320C5E #4E1395

Accessibility & contrast

On white

19.37
#150528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150528
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150528#FFFFFF#000000##FFFFFF
##1505281.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D29
Deuteranopia (green-blind)
#000D27
Tritanopia (blue-blind)
#110D15
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #150528;
/* rgb */ color: rgb(21, 5, 40);
/* oklch */ color: oklch(17.0% 0.069 300.7);
Tailwind
colors: {
  custom: {
    50: '#524862',
    500: '#150528',
    950: '#000000',
  },
}
SCSS
$custom: #150528;
$custom-light: #524862;
$custom-dark: #000000;
JSON
{
  "hex": "#150528",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 40
  },
  "hsl": {
    "h": 267.429,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.16979,
    "c": 0.06933,
    "h": 300.7
  },
  "luminance": 0.00421
}

Semantic roles & 50–950 ramp

primary
#150528
secondary
#486A1F
accent
#F4349C
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#020005
muted
#787779

Preview Lab

Preview with #150528

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

Preview Lab → · Contrast checker → · Palette generator →

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