#150B2F#150B2F

#150B2F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.068 H 291.2°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#150B2F
RGBrgb(21, 11, 47)
HSLhsl(257, 62%, 11%)
HSVhsv(257, 77%, 18%)
CMYKcmyk(55.3%, 76.6%, 0%, 81.6%)
CIE-LABlab(5.46, 14.91, -21.73)
CIE-LCHlch(5.46, 26.35, 304.47°)
OKLaboklab(18.91% 0.0248 -0.0637)
OKLCHoklch(18.91% 0.068 291.2)
XYZxyz(0.9419, 0.6040, 2.7557)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B2F #252F0B
analogous
#0B132F #150B2F #270B2F
triadic
#150B2F #2F150B #0B2F15
tetradic
#150B2F #2F0B13 #252F0B #0B2F27
square
#150B2F #2F0B13 #252F0B #0B2F27
split-complementary
#150B2F #2F270B #132F0B
monochromatic
#0B0619 #0B0619 #150B2F #2B1761 #412292

Accessibility & contrast

On white

18.74
#150B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#150B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150B2F
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B2F#FFFFFF#000000##FFFFFF
##150B2F1.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150b2f;
/* rgb */ color: rgb(21, 11, 47);
/* oklch */ color: oklch(18.9% 0.068 291.2);
Tailwind
colors: {
  custom: {
    50: '#544b68',
    500: '#150b2f',
    950: '#000000',
  },
}
SCSS
$custom: #150b2f;
$custom-light: #544b68;
$custom-dark: #000000;
JSON
{
  "hex": "#150b2f",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 256.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.1891,
    "c": 0.06839,
    "h": 291.2
  },
  "luminance": 0.00604
}

Semantic roles & 50–950 ramp

primary
#150B2F
secondary
#596B2A
accent
#E543B8
background
#F5F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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