#150F2C#150F2C

#150F2C is a very dark, muted violet. Relative luminance 0.007; OKLCH L 19.5% C 0.056 H 289.7°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#150F2C
RGBrgb(21, 15, 44)
HSLhsl(252, 49%, 12%)
HSVhsv(252, 66%, 17%)
CMYKcmyk(52.3%, 65.9%, 0%, 82.7%)
CIE-LABlab(6.17, 11.56, -18.36)
CIE-LCHlch(6.17, 21.70, 302.21°)
OKLaboklab(19.48% 0.0189 -0.053)
OKLCHoklch(19.48% 0.056 289.7)
XYZxyz(0.9346, 0.6829, 2.4650)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F2C #262C0F
analogous
#0F182C #150F2C #240F2C
triadic
#150F2C #2C150F #0F2C15
tetradic
#150F2C #2C0F18 #262C0F #0F2C24
square
#150F2C #2C0F18 #262C0F #0F2C24
split-complementary
#150F2C #2C240F #182C0F
monochromatic
#0B0817 #0B0817 #150F2C #2B1F5A #412E87

Accessibility & contrast

On white

18.48
#150F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F2C
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F2C#FFFFFF#000000##FFFFFF
##150F2C1.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03142D
Deuteranopia (green-blind)
#04132B
Tritanopia (blue-blind)
#0E151B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #150f2c;
/* rgb */ color: rgb(21, 15, 44);
/* oklch */ color: oklch(19.5% 0.056 289.7);
Tailwind
colors: {
  custom: {
    50: '#544d65',
    500: '#150f2c',
    950: '#000000',
  },
}
SCSS
$custom: #150f2c;
$custom-light: #544d65;
$custom-dark: #000000;
JSON
{
  "hex": "#150f2c",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 252.414,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19476,
    "c": 0.05625,
    "h": 289.7
  },
  "luminance": 0.00683
}

Semantic roles & 50–950 ramp

primary
#150F2C
secondary
#5B6531
accent
#D94FBC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030105
muted
#78777A

Preview Lab

Preview with #150F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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