#150A48#150A48

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

Color values

HEX#150A48
RGBrgb(21, 10, 72)
HSLhsl(251, 76%, 16%)
HSVhsv(251, 86%, 28%)
CMYKcmyk(70.8%, 86.1%, 0%, 71.8%)
CIE-LABlab(7.63, 25.96, -36.25)
CIE-LCHlch(7.63, 44.58, 305.61°)
OKLaboklab(21.52% 0.0198 -0.1046)
OKLCHoklch(21.52% 0.106 280.7)
XYZxyz(1.5871, 0.8443, 6.2090)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A48 #3D480A
analogous
#0A1E48 #150A48 #340A48
triadic
#150A48 #48150A #0A4815
tetradic
#150A48 #480A1E #3D480A #0A4834
square
#150A48 #480A1E #3D480A #0A4834
split-complementary
#150A48 #48340A #1E480A
monochromatic
#08041B #08041B #150A48 #25117E #3419B3

Accessibility & contrast

On white

17.97
#150A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150A48
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A48#FFFFFF#000000##FFFFFF
##150A481.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194A
Deuteranopia (green-blind)
#001447
Tritanopia (blue-blind)
#001C29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #150a48;
/* rgb */ color: rgb(21, 10, 72);
/* oklch */ color: oklch(21.5% 0.106 280.7);
Tailwind
colors: {
  custom: {
    50: '#5b4b7c',
    500: '#150a48',
    950: '#000000',
  },
}
SCSS
$custom: #150a48;
$custom-light: #5b4b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#150a48",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 72
  },
  "hsl": {
    "h": 250.645,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21518,
    "c": 0.10649,
    "h": 280.7
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#150A48
secondary
#758529
accent
#F236D1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150A48

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

Preview Lab → · Contrast checker → · Palette generator →

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