#150B46#150B46

#150B46 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.103 H 281.1°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#150B46
RGBrgb(21, 11, 70)
HSLhsl(250, 73%, 16%)
HSVhsv(250, 84%, 27%)
CMYKcmyk(70%, 84.3%, 0%, 72.5%)
CIE-LABlab(7.60, 24.65, -34.89)
CIE-LCHlch(7.60, 42.72, 305.24°)
OKLaboklab(21.42% 0.0197 -0.1007)
OKLCHoklch(21.42% 0.103 281.1)
XYZxyz(1.5341, 0.8409, 5.8746)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B46 #3C460B
analogous
#0B1E46 #150B46 #320B46
triadic
#150B46 #46150B #0B4615
tetradic
#150B46 #460B1E #3C460B #0B4632
square
#150B46 #460B1E #3C460B #0B4632
split-complementary
#150B46 #46320B #1E460B
monochromatic
#08041A #08041A #150B46 #25137B #351CB0

Accessibility & contrast

On white

17.98
#150B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150B46
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B46#FFFFFF#000000##FFFFFF
##150B461.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150b46;
/* rgb */ color: rgb(21, 11, 70);
/* oklch */ color: oklch(21.4% 0.103 281.1);
Tailwind
colors: {
  custom: {
    50: '#5a4b7a',
    500: '#150b46',
    950: '#000000',
  },
}
SCSS
$custom: #150b46;
$custom-light: #5a4b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#150b46",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 70
  },
  "hsl": {
    "h": 250.169,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21424,
    "c": 0.10261,
    "h": 281.1
  },
  "luminance": 0.00841
}

Semantic roles & 50–950 ramp

primary
#150B46
secondary
#74822A
accent
#F038D0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150B46

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

Preview Lab → · Contrast checker → · Palette generator →

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