#150541#150541

#150541 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.9% C 0.103 H 284.8°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#150541
RGBrgb(21, 5, 65)
HSLhsl(256, 86%, 14%)
HSVhsv(256, 92%, 25%)
CMYKcmyk(67.7%, 92.3%, 0%, 74.5%)
CIE-LABlab(5.87, 25.85, -34.18)
CIE-LCHlch(5.87, 42.86, 307.10°)
OKLaboklab(19.89% 0.0263 -0.0996)
OKLCHoklch(19.89% 0.103 284.8)
XYZxyz(1.3174, 0.6495, 5.0560)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150541 #314105
analogous
#051341 #150541 #330541
triadic
#150541 #411505 #054115
tetradic
#150541 #410513 #314105 #054133
square
#150541 #410513 #314105 #054133
split-complementary
#150541 #413305 #134105
monochromatic
#09021C #09021C #150541 #27097A #3A0EB3

Accessibility & contrast

On white

18.58
#150541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#150541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150541
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150541#FFFFFF#000000##FFFFFF
##1505411.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#001140
Tritanopia (blue-blind)
#001723
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #150541;
/* rgb */ color: rgb(21, 5, 65);
/* oklch */ color: oklch(19.9% 0.103 284.8);
Tailwind
colors: {
  custom: {
    50: '#594876',
    500: '#150541',
    950: '#000000',
  },
}
SCSS
$custom: #150541;
$custom-light: #594876;
$custom-dark: #000000;
JSON
{
  "hex": "#150541",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 256,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19888,
    "c": 0.10305,
    "h": 284.8
  },
  "luminance": 0.0065
}

Semantic roles & 50–950 ramp

primary
#150541
secondary
#688120
accent
#FC2CC4
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #150541

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

Preview Lab → · Contrast checker → · Palette generator →

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