#150529#150529

#150529 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.1% C 0.071 H 299.8°. Best body text is #FFFFFF at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#150529
RGBrgb(21, 5, 41)
HSLhsl(267, 78%, 9%)
HSVhsv(267, 88%, 16%)
CMYKcmyk(48.8%, 87.8%, 0%, 83.9%)
CIE-LABlab(3.87, 14.62, -19.72)
CIE-LCHlch(3.87, 24.54, 306.55°)
OKLaboklab(17.08% 0.0352 -0.0614)
OKLCHoklch(17.08% 0.071 299.8)
XYZxyz(0.7637, 0.4281, 2.1398)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150529 #192905
analogous
#050729 #150529 #270529
triadic
#150529 #291505 #052915
tetradic
#150529 #290507 #192905 #052927
square
#150529 #290507 #192905 #052927
split-complementary
#150529 #292705 #072905
monochromatic
#0E031B #0E031B #150529 #310C60 #4D1296

Accessibility & contrast

On white

19.34
#150529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#150529 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150529
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150529#FFFFFF#000000##FFFFFF
##1505291.0019.341.0919.34
#FFFFFF19.341.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2A
Deuteranopia (green-blind)
#000D28
Tritanopia (blue-blind)
#100D16
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #150529;
/* rgb */ color: rgb(21, 5, 41);
/* oklch */ color: oklch(17.1% 0.071 299.8);
Tailwind
colors: {
  custom: {
    50: '#534863',
    500: '#150529',
    950: '#000000',
  },
}
SCSS
$custom: #150529;
$custom-light: #534863;
$custom-dark: #000000;
JSON
{
  "hex": "#150529",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 41
  },
  "hsl": {
    "h": 266.667,
    "s": 78.261,
    "l": 9.02
  },
  "oklch": {
    "l": 0.17083,
    "c": 0.07073,
    "h": 299.8
  },
  "luminance": 0.00428
}

Semantic roles & 50–950 ramp

primary
#150529
secondary
#496B1F
accent
#F5339F
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#020005
muted
#787779

Preview Lab

Preview with #150529

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

Preview Lab → · Contrast checker → · Palette generator →

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