#150F2B#150F2B

#150F2B is a very dark, muted violet. Relative luminance 0.007; OKLCH L 19.4% C 0.055 H 290.2°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#150F2B
RGBrgb(21, 15, 43)
HSLhsl(253, 48%, 11%)
HSVhsv(253, 65%, 17%)
CMYKcmyk(51.2%, 65.1%, 0%, 83.1%)
CIE-LABlab(6.10, 11.14, -17.71)
CIE-LCHlch(6.10, 20.92, 302.16°)
OKLaboklab(19.39% 0.0189 -0.0511)
OKLCHoklch(19.39% 0.055 290.2)
XYZxyz(0.9160, 0.6755, 2.3671)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F2B #252B0F
analogous
#0F172B #150F2B #230F2B
triadic
#150F2B #2B150F #0F2B15
tetradic
#150F2B #2B0F17 #252B0F #0F2B23
square
#150F2B #2B0F17 #252B0F #0F2B23
split-complementary
#150F2B #2B230F #172B0F
monochromatic
#0B0817 #0B0817 #150F2B #2B1F58 #412F86

Accessibility & contrast

On white

18.50
#150F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#150F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F2B
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F2B#FFFFFF#000000##FFFFFF
##150F2B1.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04142C
Deuteranopia (green-blind)
#04132A
Tritanopia (blue-blind)
#0F151B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #150f2b;
/* rgb */ color: rgb(21, 15, 43);
/* oklch */ color: oklch(19.4% 0.055 290.2);
Tailwind
colors: {
  custom: {
    50: '#544d64',
    500: '#150f2b',
    950: '#000000',
  },
}
SCSS
$custom: #150f2b;
$custom-light: #544d64;
$custom-dark: #000000;
JSON
{
  "hex": "#150f2b",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 252.857,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.1939,
    "c": 0.05451,
    "h": 290.2
  },
  "luminance": 0.00675
}

Semantic roles & 50–950 ramp

primary
#150F2B
secondary
#596432
accent
#D850BB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #150F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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