#150B2D#150B2D

#150B2D is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.065 H 292.5°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#150B2D
RGBrgb(21, 11, 45)
HSLhsl(258, 61%, 11%)
HSVhsv(258, 76%, 18%)
CMYKcmyk(53.3%, 75.6%, 0%, 82.4%)
CIE-LABlab(5.31, 14.01, -20.46)
CIE-LCHlch(5.31, 24.80, 304.40°)
OKLaboklab(18.72% 0.025 -0.0602)
OKLCHoklch(18.72% 0.065 292.5)
XYZxyz(0.9025, 0.5882, 2.5481)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B2D #232D0B
analogous
#0B122D #150B2D #260B2D
triadic
#150B2D #2D150B #0B2D15
tetradic
#150B2D #2D0B12 #232D0B #0B2D26
square
#150B2D #2D0B12 #232D0B #0B2D26
split-complementary
#150B2D #2D260B #122D0B
monochromatic
#0B0619 #0B0619 #150B2D #2C175E #43238F

Accessibility & contrast

On white

18.79
#150B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150B2D
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B2D#FFFFFF#000000##FFFFFF
##150B2D1.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#00112C
Tritanopia (blue-blind)
#0E131A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #150b2d;
/* rgb */ color: rgb(21, 11, 45);
/* oklch */ color: oklch(18.7% 0.065 292.5);
Tailwind
colors: {
  custom: {
    50: '#544b66',
    500: '#150b2d',
    950: '#000000',
  },
}
SCSS
$custom: #150b2d;
$custom-light: #544b66;
$custom-dark: #000000;
JSON
{
  "hex": "#150b2d",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 45
  },
  "hsl": {
    "h": 257.647,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18717,
    "c": 0.06521,
    "h": 292.5
  },
  "luminance": 0.00588
}

Semantic roles & 50–950 ramp

primary
#150B2D
secondary
#57692A
accent
#E444B5
background
#F4F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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