#150D28#150D28

#150D28 is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.7% C 0.053 H 294.3°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#150D28
RGBrgb(21, 13, 40)
HSLhsl(258, 51%, 10%)
HSVhsv(258, 68%, 16%)
CMYKcmyk(47.5%, 67.5%, 0%, 84.3%)
CIE-LABlab(5.42, 10.87, -16.52)
CIE-LCHlch(5.42, 19.77, 303.35°)
OKLaboklab(18.69% 0.0219 -0.0485)
OKLCHoklch(18.69% 0.053 294.3)
XYZxyz(0.8361, 0.6005, 2.0789)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D28 #20280D
analogous
#0D1228 #150D28 #220D28
triadic
#150D28 #28150D #0D2815
tetradic
#150D28 #280D12 #20280D #0D2822
square
#150D28 #280D12 #20280D #0D2822
split-complementary
#150D28 #28220D #12280D
monochromatic
#0C0817 #0C0817 #150D28 #2D1C56 #452B84

Accessibility & contrast

On white

18.75
#150D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150D28
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D28#FFFFFF#000000##FFFFFF
##150D281.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031229
Deuteranopia (green-blind)
#051127
Tritanopia (blue-blind)
#101318
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #150d28;
/* rgb */ color: rgb(21, 13, 40);
/* oklch */ color: oklch(18.7% 0.053 294.3);
Tailwind
colors: {
  custom: {
    50: '#534c62',
    500: '#150d28',
    950: '#000000',
  },
}
SCSS
$custom: #150d28;
$custom-light: #534c62;
$custom-dark: #000000;
JSON
{
  "hex": "#150d28",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 40
  },
  "hsl": {
    "h": 257.778,
    "s": 50.943,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18687,
    "c": 0.05321,
    "h": 294.3
  },
  "luminance": 0.006
}

Semantic roles & 50–950 ramp

primary
#150D28
secondary
#53622F
accent
#DA4DB1
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #150D28

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

Preview Lab → · Contrast checker → · Palette generator →

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