#150B39#150B39

#150B39 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.084 H 286.0°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#150B39
RGBrgb(21, 11, 57)
HSLhsl(253, 68%, 13%)
HSVhsv(253, 81%, 22%)
CMYKcmyk(63.2%, 80.7%, 0%, 77.6%)
CIE-LABlab(6.27, 19.37, -27.77)
CIE-LCHlch(6.27, 33.86, 304.89°)
OKLaboklab(19.95% 0.0231 -0.0805)
OKLCHoklch(19.95% 0.084 286)
XYZxyz(1.1672, 0.6941, 3.9426)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B39 #2F390B
analogous
#0B1839 #150B39 #2C0B39
triadic
#150B39 #39150B #0B3915
tetradic
#150B39 #390B18 #2F390B #0B392C
square
#150B39 #390B18 #2F390B #0B392C
split-complementary
#150B39 #392C0B #18390B
monochromatic
#09051A #09051A #150B39 #28156C #3B1FA0

Accessibility & contrast

On white

18.44
#150B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150B39
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B39#FFFFFF#000000##FFFFFF
##150B391.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150b39;
/* rgb */ color: rgb(21, 11, 57);
/* oklch */ color: oklch(19.9% 0.084 286.0);
Tailwind
colors: {
  custom: {
    50: '#574b70',
    500: '#150b39',
    950: '#000000',
  },
}
SCSS
$custom: #150b39;
$custom-light: #574b70;
$custom-dark: #000000;
JSON
{
  "hex": "#150b39",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 253.043,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19945,
    "c": 0.08378,
    "h": 286
  },
  "luminance": 0.00694
}

Semantic roles & 50–950 ramp

primary
#150B39
secondary
#65762A
accent
#EB3DC5
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #150B39

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

Preview Lab → · Contrast checker → · Palette generator →

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