#150D2F#150D2F

#150D2F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.3% C 0.065 H 289.8°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#150D2F
RGBrgb(21, 13, 47)
HSLhsl(254, 57%, 12%)
HSVhsv(254, 72%, 18%)
CMYKcmyk(55.3%, 72.3%, 0%, 81.6%)
CIE-LABlab(5.89, 13.94, -21.03)
CIE-LCHlch(5.89, 25.23, 303.54°)
OKLaboklab(19.31% 0.022 -0.0611)
OKLCHoklch(19.31% 0.065 289.8)
XYZxyz(0.9661, 0.6525, 2.7638)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D2F #272F0D
analogous
#0D162F #150D2F #260D2F
triadic
#150D2F #2F150D #0D2F15
tetradic
#150D2F #2F0D16 #272F0D #0D2F26
square
#150D2F #2F0D16 #272F0D #0D2F26
split-complementary
#150D2F #2F260D #162F0D
monochromatic
#0B0718 #0B0718 #150D2F #2A1A5F #40288F

Accessibility & contrast

On white

18.57
#150D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150D2F
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D2F#FFFFFF#000000##FFFFFF
##150D2F1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#0D151C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #150d2f;
/* rgb */ color: rgb(21, 13, 47);
/* oklch */ color: oklch(19.3% 0.065 289.8);
Tailwind
colors: {
  custom: {
    50: '#544c68',
    500: '#150d2f',
    950: '#000000',
  },
}
SCSS
$custom: #150d2f;
$custom-light: #544c68;
$custom-dark: #000000;
JSON
{
  "hex": "#150d2f",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 254.118,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19312,
    "c": 0.06495,
    "h": 289.8
  },
  "luminance": 0.00653
}

Semantic roles & 50–950 ramp

primary
#150D2F
secondary
#5C6A2E
accent
#E048BC
background
#F5F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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