#150936#150936

#150936 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.082 H 288.4°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#150936
RGBrgb(21, 9, 54)
HSLhsl(256, 71%, 12%)
HSVhsv(256, 83%, 21%)
CMYKcmyk(61.1%, 83.3%, 0%, 78.8%)
CIE-LABlab(5.61, 19.00, -26.65)
CIE-LCHlch(5.61, 32.73, 305.49°)
OKLaboklab(19.27% 0.026 -0.078)
OKLCHoklch(19.27% 0.082 288.4)
XYZxyz(1.0726, 0.6211, 3.5527)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150936 #2A3609
analogous
#091436 #150936 #2C0936
triadic
#150936 #361509 #093615
tetradic
#150936 #360914 #2A3609 #09362C
square
#150936 #360914 #2A3609 #09362C
split-complementary
#150936 #362C09 #143609
monochromatic
#0A041A #0A041A #150936 #29126A #3E1A9F

Accessibility & contrast

On white

18.68
#150936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#150936 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150936
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150936#FFFFFF#000000##FFFFFF
##1509361.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#001135
Tritanopia (blue-blind)
#09151E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #150936;
/* rgb */ color: rgb(21, 9, 54);
/* oklch */ color: oklch(19.3% 0.082 288.4);
Tailwind
colors: {
  custom: {
    50: '#564a6d',
    500: '#150936',
    950: '#000000',
  },
}
SCSS
$custom: #150936;
$custom-light: #564a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#150936",
  "rgb": {
    "r": 21,
    "g": 9,
    "b": 54
  },
  "hsl": {
    "h": 256,
    "s": 71.429,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19272,
    "c": 0.08219,
    "h": 288.4
  },
  "luminance": 0.00621
}

Semantic roles & 50–950 ramp

primary
#150936
secondary
#5F7427
accent
#EE3ABE
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #150936

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

Preview Lab → · Contrast checker → · Palette generator →

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