#150737#150737

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

Color values

HEX#150737
RGBrgb(21, 7, 55)
HSLhsl(258, 77%, 12%)
HSVhsv(258, 87%, 22%)
CMYKcmyk(61.8%, 87.3%, 0%, 78.4%)
CIE-LABlab(5.30, 20.39, -27.88)
CIE-LCHlch(5.30, 34.54, 306.19°)
OKLaboklab(19.03% 0.028 -0.082)
OKLCHoklch(19.03% 0.087 288.9)
XYZxyz(1.0746, 0.5872, 3.6704)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150737 #293707
analogous
#071137 #150737 #2D0737
triadic
#150737 #371507 #073715
tetradic
#150737 #370711 #293707 #07372D
square
#150737 #370711 #293707 #07372D
split-complementary
#150737 #372D07 #113707
monochromatic
#0A031B #0A031B #150737 #2A0E6D #3E15A4

Accessibility & contrast

On white

18.79
#150737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150737
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150737#FFFFFF#000000##FFFFFF
##1507371.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150737;
/* rgb */ color: rgb(21, 7, 55);
/* oklch */ color: oklch(19.0% 0.087 288.9);
Tailwind
colors: {
  custom: {
    50: '#56496e',
    500: '#150737',
    950: '#000000',
  },
}
SCSS
$custom: #150737;
$custom-light: #56496e;
$custom-dark: #000000;
JSON
{
  "hex": "#150737",
  "rgb": {
    "r": 21,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 257.5,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19027,
    "c": 0.08666,
    "h": 288.9
  },
  "luminance": 0.00587
}

Semantic roles & 50–950 ramp

primary
#150737
secondary
#5E7723
accent
#F434BC
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #150737

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

Preview Lab → · Contrast checker → · Palette generator →

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