#150836#150836

#150836 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.084 H 288.9°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#150836
RGBrgb(21, 8, 54)
HSLhsl(257, 74%, 12%)
HSVhsv(257, 85%, 21%)
CMYKcmyk(61.1%, 85.2%, 0%, 78.8%)
CIE-LABlab(5.41, 19.47, -26.97)
CIE-LCHlch(5.41, 33.26, 305.83°)
OKLaboklab(19.09% 0.0271 -0.0792)
OKLCHoklch(19.09% 0.084 288.9)
XYZxyz(1.0618, 0.5994, 3.5491)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150836 #293608
analogous
#081236 #150836 #2C0836
triadic
#150836 #361508 #083615
tetradic
#150836 #360812 #293608 #08362C
square
#150836 #360812 #293608 #08362C
split-complementary
#150836 #362C08 #123608
monochromatic
#0A041B #0A041B #150836 #2A106B #3E18A1

Accessibility & contrast

On white

18.75
#150836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150836
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150836#FFFFFF#000000##FFFFFF
##1508361.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150836;
/* rgb */ color: rgb(21, 8, 54);
/* oklch */ color: oklch(19.1% 0.084 288.9);
Tailwind
colors: {
  custom: {
    50: '#56496d',
    500: '#150836',
    950: '#000000',
  },
}
SCSS
$custom: #150836;
$custom-light: #56496d;
$custom-dark: #000000;
JSON
{
  "hex": "#150836",
  "rgb": {
    "r": 21,
    "g": 8,
    "b": 54
  },
  "hsl": {
    "h": 256.957,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19094,
    "c": 0.08371,
    "h": 288.9
  },
  "luminance": 0.00599
}

Semantic roles & 50–950 ramp

primary
#150836
secondary
#5E7525
accent
#F137BC
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #150836

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

Preview Lab → · Contrast checker → · Palette generator →

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