#150847#150847

#150847 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.107 H 281.6°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#150847
RGBrgb(21, 8, 71)
HSLhsl(252, 80%, 15%)
HSVhsv(252, 89%, 28%)
CMYKcmyk(70.4%, 88.7%, 0%, 72.2%)
CIE-LABlab(7.12, 26.69, -36.38)
CIE-LCHlch(7.12, 45.12, 306.26°)
OKLaboklab(21.11% 0.0215 -0.1051)
OKLCHoklch(21.11% 0.107 281.6)
XYZxyz(1.5331, 0.7879, 6.0313)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150847 #3A4708
analogous
#081A47 #150847 #340847
triadic
#150847 #471508 #084715
tetradic
#150847 #47081A #3A4708 #084734
square
#150847 #47081A #3A4708 #084734
split-complementary
#150847 #473408 #1A4708
monochromatic
#08031C #08031C #150847 #250E7E #3614B5

Accessibility & contrast

On white

18.14
#150847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#150847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150847
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150847#FFFFFF#000000##FFFFFF
##1508471.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001346
Tritanopia (blue-blind)
#001B28
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #150847;
/* rgb */ color: rgb(21, 8, 71);
/* oklch */ color: oklch(21.1% 0.107 281.6);
Tailwind
colors: {
  custom: {
    50: '#5b4a7b',
    500: '#150847',
    950: '#000000',
  },
}
SCSS
$custom: #150847;
$custom-light: #5b4a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#150847",
  "rgb": {
    "r": 21,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 252.381,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21107,
    "c": 0.10733,
    "h": 281.6
  },
  "luminance": 0.00788
}

Semantic roles & 50–950 ramp

primary
#150847
secondary
#718526
accent
#F632CE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150847

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

Preview Lab → · Contrast checker → · Palette generator →

#150847 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva