#150536#150536

#150536 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.088 H 290.4°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#150536
RGBrgb(21, 5, 54)
HSLhsl(260, 83%, 12%)
HSVhsv(260, 91%, 21%)
CMYKcmyk(61.1%, 90.7%, 0%, 78.8%)
CIE-LABlab(4.83, 20.85, -27.91)
CIE-LCHlch(4.83, 34.84, 306.76°)
OKLaboklab(18.54% 0.0308 -0.083)
OKLCHoklch(18.54% 0.089 290.4)
XYZxyz(1.0292, 0.5343, 3.5382)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150536 #263605
analogous
#050E36 #150536 #2E0536
triadic
#150536 #361505 #053615
tetradic
#150536 #36050E #263605 #05362E
square
#150536 #36050E #263605 #05362E
split-complementary
#150536 #362E05 #0E3605
monochromatic
#0B031C #0B031C #150536 #2B0A6E #410FA6

Accessibility & contrast

On white

18.97
#150536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#150536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150536
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150536#FFFFFF#000000##FFFFFF
##1505361.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001137
Deuteranopia (green-blind)
#000F35
Tritanopia (blue-blind)
#09121D
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #150536;
/* rgb */ color: rgb(21, 5, 54);
/* oklch */ color: oklch(18.5% 0.088 290.4);
Tailwind
colors: {
  custom: {
    50: '#56486d',
    500: '#150536',
    950: '#000000',
  },
}
SCSS
$custom: #150536;
$custom-light: #56486d;
$custom-dark: #000000;
JSON
{
  "hex": "#150536",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 54
  },
  "hsl": {
    "h": 259.592,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18538,
    "c": 0.0885,
    "h": 290.4
  },
  "luminance": 0.00534
}

Semantic roles & 50–950 ramp

primary
#150536
secondary
#5B7720
accent
#F92EB7
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #150536

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

Preview Lab → · Contrast checker → · Palette generator →

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