#150638#150638

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

Color values

HEX#150638
RGBrgb(21, 6, 56)
HSLhsl(258, 81%, 12%)
HSVhsv(258, 89%, 22%)
CMYKcmyk(62.5%, 89.3%, 0%, 78%)
CIE-LABlab(5.19, 21.33, -28.78)
CIE-LCHlch(5.19, 35.82, 306.54°)
OKLaboklab(18.96% 0.0289 -0.0848)
OKLCHoklch(18.96% 0.09 288.8)
XYZxyz(1.0880, 0.5751, 3.7943)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150638 #293806
analogous
#061038 #150638 #2E0638
triadic
#150638 #381506 #063815
tetradic
#150638 #380610 #293806 #06382E
square
#150638 #380610 #293806 #06382E
split-complementary
#150638 #382E06 #103806
monochromatic
#0A031C #0A031C #150638 #2A0C6F #3E12A7

Accessibility & contrast

On white

18.83
#150638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150638
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150638#FFFFFF#000000##FFFFFF
##1506381.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001239
Deuteranopia (green-blind)
#001037
Tritanopia (blue-blind)
#07141E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #150638;
/* rgb */ color: rgb(21, 6, 56);
/* oklch */ color: oklch(19.0% 0.090 288.8);
Tailwind
colors: {
  custom: {
    50: '#57486f',
    500: '#150638',
    950: '#000000',
  },
}
SCSS
$custom: #150638;
$custom-light: #57486f;
$custom-dark: #000000;
JSON
{
  "hex": "#150638",
  "rgb": {
    "r": 21,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 258,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18961,
    "c": 0.0896,
    "h": 288.8
  },
  "luminance": 0.00575
}

Semantic roles & 50–950 ramp

primary
#150638
secondary
#5E7821
accent
#F731BC
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #150638

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

Preview Lab → · Contrast checker → · Palette generator →

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