#150841#150841

#150841 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.099 H 283.8°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#150841
RGBrgb(21, 8, 65)
HSLhsl(254, 78%, 14%)
HSVhsv(254, 88%, 25%)
CMYKcmyk(67.7%, 87.7%, 0%, 74.5%)
CIE-LABlab(6.46, 24.29, -33.22)
CIE-LCHlch(6.46, 41.16, 306.18°)
OKLaboklab(20.37% 0.0237 -0.0963)
OKLCHoklch(20.37% 0.099 283.8)
XYZxyz(1.3499, 0.7147, 5.0668)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150841 #344108
analogous
#081841 #150841 #320841
triadic
#150841 #411508 #084115
tetradic
#150841 #410818 #344108 #084132
square
#150841 #410818 #344108 #084132
split-complementary
#150841 #413208 #184108
monochromatic
#09031B #09031B #150841 #270F77 #3815AE

Accessibility & contrast

On white

18.37
#150841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#150841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150841
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150841#FFFFFF#000000##FFFFFF
##1508411.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001240
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #150841;
/* rgb */ color: rgb(21, 8, 65);
/* oklch */ color: oklch(20.4% 0.099 283.8);
Tailwind
colors: {
  custom: {
    50: '#594976',
    500: '#150841',
    950: '#000000',
  },
}
SCSS
$custom: #150841;
$custom-light: #594976;
$custom-dark: #000000;
JSON
{
  "hex": "#150841",
  "rgb": {
    "r": 21,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 253.684,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20373,
    "c": 0.09918,
    "h": 283.8
  },
  "luminance": 0.00715
}

Semantic roles & 50–950 ramp

primary
#150841
secondary
#6B7F25
accent
#F533C8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #150841

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

Preview Lab → · Contrast checker → · Palette generator →

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