#150A49#150A49

#150A49 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.108 H 280.4°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#150A49
RGBrgb(21, 10, 73)
HSLhsl(250, 76%, 16%)
HSVhsv(250, 86%, 29%)
CMYKcmyk(71.2%, 86.3%, 0%, 71.4%)
CIE-LABlab(7.74, 26.33, -36.75)
CIE-LCHlch(7.74, 45.21, 305.62°)
OKLaboklab(21.64% 0.0195 -0.1061)
OKLCHoklch(21.64% 0.108 280.4)
XYZxyz(1.6200, 0.8574, 6.3822)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A49 #3E490A
analogous
#0A1F49 #150A49 #350A49
triadic
#150A49 #49150A #0A4915
tetradic
#150A49 #490A1F #3E490A #0A4935
square
#150A49 #490A1F #3E490A #0A4935
split-complementary
#150A49 #49350A #1F490A
monochromatic
#08041B #08041B #150A49 #24117F #3419B5

Accessibility & contrast

On white

17.92
#150A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150A49
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A49#FFFFFF#000000##FFFFFF
##150A491.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194B
Deuteranopia (green-blind)
#001548
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #150a49;
/* rgb */ color: rgb(21, 10, 73);
/* oklch */ color: oklch(21.6% 0.108 280.4);
Tailwind
colors: {
  custom: {
    50: '#5b4b7d',
    500: '#150a49',
    950: '#000000',
  },
}
SCSS
$custom: #150a49;
$custom-light: #5b4b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#150a49",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 73
  },
  "hsl": {
    "h": 250.476,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21639,
    "c": 0.10786,
    "h": 280.4
  },
  "luminance": 0.00858
}

Semantic roles & 50–950 ramp

primary
#150A49
secondary
#768629
accent
#F235D1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #150A49

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

Preview Lab → · Contrast checker → · Palette generator →

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