#150F2F#150F2F

#150F2F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.7% C 0.061 H 288.1°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#150F2F
RGBrgb(21, 15, 47)
HSLhsl(251, 52%, 12%)
HSVhsv(251, 68%, 18%)
CMYKcmyk(55.3%, 68.1%, 0%, 81.6%)
CIE-LABlab(6.38, 12.84, -20.26)
CIE-LCHlch(6.38, 23.98, 302.37°)
OKLaboklab(19.74% 0.019 -0.0584)
OKLCHoklch(19.74% 0.061 288.1)
XYZxyz(0.9930, 0.7063, 2.7728)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F2F #292F0F
analogous
#0F192F #150F2F #250F2F
triadic
#150F2F #2F150F #0F2F15
tetradic
#150F2F #2F0F19 #292F0F #0F2F25
square
#150F2F #2F0F19 #292F0F #0F2F25
split-complementary
#150F2F #2F250F #192F0F
monochromatic
#0A0717 #0A0717 #150F2F #2A1E5D #3E2D8C

Accessibility & contrast

On white

18.40
#150F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F2F
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F2F#FFFFFF#000000##FFFFFF
##150F2F1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011530
Deuteranopia (green-blind)
#01132E
Tritanopia (blue-blind)
#0D161D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #150f2f;
/* rgb */ color: rgb(21, 15, 47);
/* oklch */ color: oklch(19.7% 0.061 288.1);
Tailwind
colors: {
  custom: {
    50: '#544d68',
    500: '#150f2f',
    950: '#000000',
  },
}
SCSS
$custom: #150f2f;
$custom-light: #544d68;
$custom-dark: #000000;
JSON
{
  "hex": "#150f2f",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 251.25,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19739,
    "c": 0.06138,
    "h": 288.1
  },
  "luminance": 0.00706
}

Semantic roles & 50–950 ramp

primary
#150F2F
secondary
#5E6931
accent
#DB4DC0
background
#F5F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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