#150B47#150B47

#150B47 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.5% C 0.104 H 280.7°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#150B47
RGBrgb(21, 11, 71)
HSLhsl(250, 73%, 16%)
HSVhsv(250, 85%, 28%)
CMYKcmyk(70.4%, 84.5%, 0%, 72.2%)
CIE-LABlab(7.71, 25.03, -35.41)
CIE-LCHlch(7.71, 43.36, 305.25°)
OKLaboklab(21.54% 0.0194 -0.1022)
OKLCHoklch(21.54% 0.104 280.7)
XYZxyz(1.5659, 0.8536, 6.0423)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B47 #3D470B
analogous
#0B1F47 #150B47 #330B47
triadic
#150B47 #47150B #0B4715
tetradic
#150B47 #470B1F #3D470B #0B4733
square
#150B47 #470B1F #3D470B #0B4733
split-complementary
#150B47 #47330B #1F470B
monochromatic
#08041A #08041A #150B47 #25137C #341BB1

Accessibility & contrast

On white

17.94
#150B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#150B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150B47
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B47#FFFFFF#000000##FFFFFF
##150B471.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #150b47;
/* rgb */ color: rgb(21, 11, 71);
/* oklch */ color: oklch(21.5% 0.104 280.7);
Tailwind
colors: {
  custom: {
    50: '#5b4b7b',
    500: '#150b47',
    950: '#000000',
  },
}
SCSS
$custom: #150b47;
$custom-light: #5b4b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#150b47",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 250,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21543,
    "c": 0.104,
    "h": 280.7
  },
  "luminance": 0.00854
}

Semantic roles & 50–950 ramp

primary
#150B47
secondary
#75832A
accent
#F038D1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150B47

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

Preview Lab → · Contrast checker → · Palette generator →

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