#150837#150837

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

Color values

HEX#150837
RGBrgb(21, 8, 55)
HSLhsl(257, 75%, 12%)
HSVhsv(257, 85%, 22%)
CMYKcmyk(61.8%, 85.5%, 0%, 78.4%)
CIE-LABlab(5.50, 19.93, -27.56)
CIE-LCHlch(5.50, 34.01, 305.87°)
OKLaboklab(19.21% 0.0269 -0.0808)
OKLCHoklch(19.21% 0.085 288.4)
XYZxyz(1.0855, 0.6089, 3.6740)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150837 #2A3708
analogous
#081237 #150837 #2D0837
triadic
#150837 #371508 #083715
tetradic
#150837 #370812 #2A3708 #08372D
square
#150837 #370812 #2A3708 #08372D
split-complementary
#150837 #372D08 #123708
monochromatic
#0A041B #0A041B #150837 #29106C #3E18A2

Accessibility & contrast

On white

18.72
#150837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150837
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150837#FFFFFF#000000##FFFFFF
##1508371.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001338
Deuteranopia (green-blind)
#001136
Tritanopia (blue-blind)
#08151E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #150837;
/* rgb */ color: rgb(21, 8, 55);
/* oklch */ color: oklch(19.2% 0.085 288.4);
Tailwind
colors: {
  custom: {
    50: '#56496e',
    500: '#150837',
    950: '#000000',
  },
}
SCSS
$custom: #150837;
$custom-light: #56496e;
$custom-dark: #000000;
JSON
{
  "hex": "#150837",
  "rgb": {
    "r": 21,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 256.596,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19206,
    "c": 0.08514,
    "h": 288.4
  },
  "luminance": 0.00609
}

Semantic roles & 50–950 ramp

primary
#150837
secondary
#5F7625
accent
#F137BE
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #150837

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

Preview Lab → · Contrast checker → · Palette generator →

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