#150F2E#150F2E

#150F2E is a very dark, muted violet. Relative luminance 0.007; OKLCH L 19.7% C 0.060 H 288.6°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#150F2E
RGBrgb(21, 15, 46)
HSLhsl(252, 51%, 12%)
HSVhsv(252, 67%, 18%)
CMYKcmyk(54.3%, 67.4%, 0%, 82%)
CIE-LABlab(6.31, 12.42, -19.63)
CIE-LCHlch(6.31, 23.22, 302.32°)
OKLaboklab(19.65% 0.019 -0.0566)
OKLCHoklch(19.65% 0.06 288.6)
XYZxyz(0.9731, 0.6983, 2.6678)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F2E #282E0F
analogous
#0F192E #150F2E #250F2E
triadic
#150F2E #2E150F #0F2E15
tetradic
#150F2E #2E0F19 #282E0F #0F2E25
square
#150F2E #2E0F19 #282E0F #0F2E25
split-complementary
#150F2E #2E250F #192E0F
monochromatic
#0B0817 #0B0817 #150F2E #2A1E5C #3F2D8A

Accessibility & contrast

On white

18.43
#150F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F2E
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F2E#FFFFFF#000000##FFFFFF
##150F2E1.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02152F
Deuteranopia (green-blind)
#02132D
Tritanopia (blue-blind)
#0D161C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #150f2e;
/* rgb */ color: rgb(21, 15, 46);
/* oklch */ color: oklch(19.7% 0.060 288.6);
Tailwind
colors: {
  custom: {
    50: '#544d67',
    500: '#150f2e',
    950: '#000000',
  },
}
SCSS
$custom: #150f2e;
$custom-light: #544d67;
$custom-dark: #000000;
JSON
{
  "hex": "#150f2e",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 251.613,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.1965,
    "c": 0.05968,
    "h": 288.6
  },
  "luminance": 0.00698
}

Semantic roles & 50–950 ramp

primary
#150F2E
secondary
#5D6831
accent
#DA4DBF
background
#F4F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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