#150C39#150C39

#150C39 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.082 H 285.5°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#150C39
RGBrgb(21, 12, 57)
HSLhsl(252, 65%, 14%)
HSVhsv(252, 79%, 22%)
CMYKcmyk(63.2%, 78.9%, 0%, 77.6%)
CIE-LABlab(6.48, 18.83, -27.42)
CIE-LCHlch(6.48, 33.27, 304.48°)
OKLaboklab(20.12% 0.022 -0.0794)
OKLCHoklch(20.12% 0.082 285.5)
XYZxyz(1.1790, 0.7177, 3.9465)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C39 #30390C
analogous
#0C1939 #150C39 #2B0C39
triadic
#150C39 #39150C #0C3915
tetradic
#150C39 #390C19 #30390C #0C392B
square
#150C39 #390C19 #30390C #0C392B
split-complementary
#150C39 #392B0C #19390C
monochromatic
#090519 #090519 #150C39 #28176C #3A219E

Accessibility & contrast

On white

18.36
#150C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#150C39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150C39
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C39#FFFFFF#000000##FFFFFF
##150C391.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#001338
Tritanopia (blue-blind)
#061821
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #150c39;
/* rgb */ color: rgb(21, 12, 57);
/* oklch */ color: oklch(20.1% 0.082 285.5);
Tailwind
colors: {
  custom: {
    50: '#574b70',
    500: '#150c39',
    950: '#000000',
  },
}
SCSS
$custom: #150c39;
$custom-light: #574b70;
$custom-dark: #000000;
JSON
{
  "hex": "#150c39",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 57
  },
  "hsl": {
    "h": 252,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20122,
    "c": 0.08235,
    "h": 285.5
  },
  "luminance": 0.00718
}

Semantic roles & 50–950 ramp

primary
#150C39
secondary
#66752C
accent
#E840C6
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #150C39

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

Preview Lab → · Contrast checker → · Palette generator →

#150C39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva