#150A47#150A47

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

Color values

HEX#150A47
RGBrgb(21, 10, 71)
HSLhsl(251, 75%, 16%)
HSVhsv(251, 86%, 28%)
CMYKcmyk(70.4%, 85.9%, 0%, 72.2%)
CIE-LABlab(7.51, 25.59, -35.74)
CIE-LCHlch(7.51, 43.96, 305.61°)
OKLaboklab(21.4% 0.0201 -0.1032)
OKLCHoklch(21.4% 0.105 281)
XYZxyz(1.5548, 0.8313, 6.0385)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A47 #3C470A
analogous
#0A1D47 #150A47 #330A47
triadic
#150A47 #47150A #0A4715
tetradic
#150A47 #470A1D #3C470A #0A4733
square
#150A47 #470A1D #3C470A #0A4733
split-complementary
#150A47 #47330A #1D470A
monochromatic
#08041B #08041B #150A47 #25127D #3519B2

Accessibility & contrast

On white

18.01
#150A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150A47
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A47#FFFFFF#000000##FFFFFF
##150A471.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150a47;
/* rgb */ color: rgb(21, 10, 71);
/* oklch */ color: oklch(21.4% 0.105 281.0);
Tailwind
colors: {
  custom: {
    50: '#5b4b7b',
    500: '#150a47',
    950: '#000000',
  },
}
SCSS
$custom: #150a47;
$custom-light: #5b4b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#150a47",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 250.82,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21397,
    "c": 0.10511,
    "h": 281
  },
  "luminance": 0.00831
}

Semantic roles & 50–950 ramp

primary
#150A47
secondary
#748429
accent
#F236D0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150A47

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

Preview Lab → · Contrast checker → · Palette generator →

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