#150D2E#150D2E

#150D2E is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.063 H 290.3°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#150D2E
RGBrgb(21, 13, 46)
HSLhsl(255, 56%, 12%)
HSVhsv(255, 72%, 18%)
CMYKcmyk(54.3%, 71.7%, 0%, 82%)
CIE-LABlab(5.82, 13.50, -20.40)
CIE-LCHlch(5.82, 24.46, 303.50°)
OKLaboklab(19.22% 0.022 -0.0593)
OKLCHoklch(19.22% 0.063 290.3)
XYZxyz(0.9462, 0.6445, 2.6588)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D2E #262E0D
analogous
#0D162E #150D2E #260D2E
triadic
#150D2E #2E150D #0D2E15
tetradic
#150D2E #2E0D16 #262E0D #0D2E26
square
#150D2E #2E0D16 #262E0D #0D2E26
split-complementary
#150D2E #2E260D #162E0D
monochromatic
#0B0718 #0B0718 #150D2E #2B1A5E #41288D

Accessibility & contrast

On white

18.60
#150D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#150D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150D2E
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D2E#FFFFFF#000000##FFFFFF
##150D2E1.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#00122D
Tritanopia (blue-blind)
#0E141B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #150d2e;
/* rgb */ color: rgb(21, 13, 46);
/* oklch */ color: oklch(19.2% 0.063 290.3);
Tailwind
colors: {
  custom: {
    50: '#544c67',
    500: '#150d2e',
    950: '#000000',
  },
}
SCSS
$custom: #150d2e;
$custom-light: #544c67;
$custom-dark: #000000;
JSON
{
  "hex": "#150d2e",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 254.545,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19219,
    "c": 0.0633,
    "h": 290.3
  },
  "luminance": 0.00645
}

Semantic roles & 50–950 ramp

primary
#150D2E
secondary
#5B692E
accent
#DF49BB
background
#F4F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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