#150C28#150C28

#150C28 is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.5% C 0.055 H 295.3°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#150C28
RGBrgb(21, 12, 40)
HSLhsl(259, 54%, 10%)
HSVhsv(259, 70%, 16%)
CMYKcmyk(47.5%, 70%, 0%, 84.3%)
CIE-LABlab(5.20, 11.33, -16.87)
CIE-LCHlch(5.20, 20.32, 303.88°)
OKLaboklab(18.47% 0.0236 -0.0499)
OKLCHoklch(18.47% 0.055 295.3)
XYZxyz(0.8236, 0.5756, 2.0748)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C28 #1F280C
analogous
#0C1128 #150C28 #230C28
triadic
#150C28 #28150C #0C2815
tetradic
#150C28 #280C11 #1F280C #0C2823
square
#150C28 #280C11 #1F280C #0C2823
split-complementary
#150C28 #28230C #11280C
monochromatic
#0C0718 #0C0718 #150C28 #2E1A57 #462886

Accessibility & contrast

On white

18.83
#150C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150C28
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C28#FFFFFF#000000##FFFFFF
##150C281.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021229
Deuteranopia (green-blind)
#041127
Tritanopia (blue-blind)
#101218
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #150c28;
/* rgb */ color: rgb(21, 12, 40);
/* oklch */ color: oklch(18.5% 0.055 295.3);
Tailwind
colors: {
  custom: {
    50: '#534c62',
    500: '#150c28',
    950: '#000000',
  },
}
SCSS
$custom: #150c28;
$custom-light: #534c62;
$custom-dark: #000000;
JSON
{
  "hex": "#150c28",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 40
  },
  "hsl": {
    "h": 259.286,
    "s": 53.846,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18468,
    "c": 0.05516,
    "h": 295.3
  },
  "luminance": 0.00576
}

Semantic roles & 50–950 ramp

primary
#150C28
secondary
#52632D
accent
#DD4BAE
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #150C28

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

Preview Lab → · Contrast checker → · Palette generator →

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