#150B32#150B32

#150B32 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.073 H 289.5°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#150B32
RGBrgb(21, 11, 50)
HSLhsl(255, 64%, 12%)
HSVhsv(255, 78%, 20%)
CMYKcmyk(58%, 78%, 0%, 80.4%)
CIE-LABlab(5.68, 16.27, -23.59)
CIE-LCHlch(5.68, 28.66, 304.59°)
OKLaboklab(19.21% 0.0244 -0.0689)
OKLCHoklch(19.21% 0.073 289.5)
XYZxyz(1.0045, 0.6290, 3.0855)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B32 #28320B
analogous
#0B1532 #150B32 #290B32
triadic
#150B32 #32150B #0B3215
tetradic
#150B32 #320B15 #28320B #0B3229
square
#150B32 #320B15 #28320B #0B3229
split-complementary
#150B32 #32290B #15320B
monochromatic
#0B0619 #0B0619 #150B32 #2A1664 #3F2196

Accessibility & contrast

On white

18.65
#150B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150B32
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B32#FFFFFF#000000##FFFFFF
##150B321.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001333
Deuteranopia (green-blind)
#001231
Tritanopia (blue-blind)
#0B141D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #150b32;
/* rgb */ color: rgb(21, 11, 50);
/* oklch */ color: oklch(19.2% 0.073 289.5);
Tailwind
colors: {
  custom: {
    50: '#554b6a',
    500: '#150b32',
    950: '#000000',
  },
}
SCSS
$custom: #150b32;
$custom-light: #554b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#150b32",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 50
  },
  "hsl": {
    "h": 255.385,
    "s": 63.934,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19209,
    "c": 0.07311,
    "h": 289.5
  },
  "luminance": 0.00629
}

Semantic roles & 50–950 ramp

primary
#150B32
secondary
#5D6F2A
accent
#E741BC
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150B32

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

Preview Lab → · Contrast checker → · Palette generator →

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