#150C2F#150C2F

#150C2F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.067 H 290.5°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#150C2F
RGBrgb(21, 12, 47)
HSLhsl(255, 59%, 12%)
HSVhsv(255, 74%, 18%)
CMYKcmyk(55.3%, 74.5%, 0%, 81.6%)
CIE-LABlab(5.67, 14.44, -21.39)
CIE-LCHlch(5.67, 25.81, 304.03°)
OKLaboklab(19.11% 0.0234 -0.0624)
OKLCHoklch(19.11% 0.067 290.5)
XYZxyz(0.9537, 0.6276, 2.7597)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C2F #262F0C
analogous
#0C152F #150C2F #270C2F
triadic
#150C2F #2F150C #0C2F15
tetradic
#150C2F #2F0C15 #262F0C #0C2F27
square
#150C2F #2F0C15 #262F0C #0C2F27
split-complementary
#150C2F #2F270C #152F0C
monochromatic
#0B0618 #0B0618 #150C2F #2B1860 #412591

Accessibility & contrast

On white

18.66
#150C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150C2F
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C2F#FFFFFF#000000##FFFFFF
##150C2F1.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#0D141B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #150c2f;
/* rgb */ color: rgb(21, 12, 47);
/* oklch */ color: oklch(19.1% 0.067 290.5);
Tailwind
colors: {
  custom: {
    50: '#544b68',
    500: '#150c2f',
    950: '#000000',
  },
}
SCSS
$custom: #150c2f;
$custom-light: #544b68;
$custom-dark: #000000;
JSON
{
  "hex": "#150c2f",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 255.429,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19108,
    "c": 0.06668,
    "h": 290.5
  },
  "luminance": 0.00628
}

Semantic roles & 50–950 ramp

primary
#150C2F
secondary
#5B6B2C
accent
#E345BA
background
#F5F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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