#150D39#150D39

#150D39 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.081 H 284.9°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#150D39
RGBrgb(21, 13, 57)
HSLhsl(251, 63%, 14%)
HSVhsv(251, 77%, 22%)
CMYKcmyk(63.2%, 77.2%, 0%, 77.6%)
CIE-LABlab(6.71, 18.27, -27.06)
CIE-LCHlch(6.71, 32.65, 304.03°)
OKLaboklab(20.31% 0.0209 -0.0781)
OKLCHoklch(20.31% 0.081 284.9)
XYZxyz(1.1915, 0.7426, 3.9507)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D39 #31390D
analogous
#0D1B39 #150D39 #2B0D39
triadic
#150D39 #39150D #0D3915
tetradic
#150D39 #390D1B #31390D #0D392B
square
#150D39 #390D1B #31390D #0D392B
split-complementary
#150D39 #392B0D #1B390D
monochromatic
#090619 #090619 #150D39 #27186B #3A249D

Accessibility & contrast

On white

18.28
#150D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#150D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150D39
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D39#FFFFFF#000000##FFFFFF
##150D391.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150d39;
/* rgb */ color: rgb(21, 13, 57);
/* oklch */ color: oklch(20.3% 0.081 284.9);
Tailwind
colors: {
  custom: {
    50: '#574c70',
    500: '#150d39',
    950: '#000000',
  },
}
SCSS
$custom: #150d39;
$custom-light: #574c70;
$custom-dark: #000000;
JSON
{
  "hex": "#150d39",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 57
  },
  "hsl": {
    "h": 250.909,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20306,
    "c": 0.08087,
    "h": 284.9
  },
  "luminance": 0.00743
}

Semantic roles & 50–950 ramp

primary
#150D39
secondary
#68742D
accent
#E642C8
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #150D39

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

Preview Lab → · Contrast checker → · Palette generator →

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