#150D2B#150D2B

#150D2B is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.9% C 0.058 H 292.2°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#150D2B
RGBrgb(21, 13, 43)
HSLhsl(256, 54%, 11%)
HSVhsv(256, 70%, 17%)
CMYKcmyk(51.2%, 69.8%, 0%, 83.1%)
CIE-LABlab(5.62, 12.18, -18.48)
CIE-LCHlch(5.62, 22.13, 303.39°)
OKLaboklab(18.95% 0.022 -0.054)
OKLCHoklch(18.95% 0.058 292.2)
XYZxyz(0.8891, 0.6217, 2.3582)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D2B #232B0D
analogous
#0D142B #150D2B #240D2B
triadic
#150D2B #2B150D #0D2B15
tetradic
#150D2B #2B0D14 #232B0D #0D2B24
square
#150D2B #2B0D14 #232B0D #0D2B24
split-complementary
#150D2B #2B240D #142B0D
monochromatic
#0B0717 #0B0717 #150D2B #2C1B5A #432989

Accessibility & contrast

On white

18.68
#150D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#150D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150D2B
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D2B#FFFFFF#000000##FFFFFF
##150D2B1.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01132C
Deuteranopia (green-blind)
#02122A
Tritanopia (blue-blind)
#0F131A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #150d2b;
/* rgb */ color: rgb(21, 13, 43);
/* oklch */ color: oklch(18.9% 0.058 292.2);
Tailwind
colors: {
  custom: {
    50: '#534c64',
    500: '#150d2b',
    950: '#000000',
  },
}
SCSS
$custom: #150d2b;
$custom-light: #534c64;
$custom-dark: #000000;
JSON
{
  "hex": "#150d2b",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 43
  },
  "hsl": {
    "h": 256,
    "s": 53.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18947,
    "c": 0.05829,
    "h": 292.2
  },
  "luminance": 0.00622
}

Semantic roles & 50–950 ramp

primary
#150D2B
secondary
#57662E
accent
#DD4BB6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #150D2B

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

Preview Lab → · Contrast checker → · Palette generator →

#150D2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva