#150637#150637

#150637 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.8% C 0.088 H 289.3°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#150637
RGBrgb(21, 6, 55)
HSLhsl(258, 80%, 12%)
HSVhsv(258, 89%, 22%)
CMYKcmyk(61.8%, 89.1%, 0%, 78.4%)
CIE-LABlab(5.11, 20.86, -28.19)
CIE-LCHlch(5.11, 35.07, 306.50°)
OKLaboklab(18.84% 0.0292 -0.0833)
OKLCHoklch(18.84% 0.088 289.3)
XYZxyz(1.0638, 0.5655, 3.6668)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150637 #283706
analogous
#061037 #150637 #2E0637
triadic
#150637 #371506 #063715
tetradic
#150637 #370610 #283706 #06372E
square
#150637 #370610 #283706 #06372E
split-complementary
#150637 #372E06 #103706
monochromatic
#0B031C #0B031C #150637 #2A0C6E #3F12A5

Accessibility & contrast

On white

18.86
#150637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150637
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150637#FFFFFF#000000##FFFFFF
##1506371.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001238
Deuteranopia (green-blind)
#001036
Tritanopia (blue-blind)
#08131E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #150637;
/* rgb */ color: rgb(21, 6, 55);
/* oklch */ color: oklch(18.8% 0.088 289.3);
Tailwind
colors: {
  custom: {
    50: '#56486e',
    500: '#150637',
    950: '#000000',
  },
}
SCSS
$custom: #150637;
$custom-light: #56486e;
$custom-dark: #000000;
JSON
{
  "hex": "#150637",
  "rgb": {
    "r": 21,
    "g": 6,
    "b": 55
  },
  "hsl": {
    "h": 258.367,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18844,
    "c": 0.08824,
    "h": 289.3
  },
  "luminance": 0.00566
}

Semantic roles & 50–950 ramp

primary
#150637
secondary
#5D7721
accent
#F731BA
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #150637

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

Preview Lab → · Contrast checker → · Palette generator →

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