#150A31#150A31

#150A31 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.073 H 290.7°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#150A31
RGBrgb(21, 10, 49)
HSLhsl(257, 66%, 12%)
HSVhsv(257, 80%, 19%)
CMYKcmyk(57.1%, 79.6%, 0%, 80.8%)
CIE-LABlab(5.40, 16.27, -23.30)
CIE-LCHlch(5.40, 28.42, 304.93°)
OKLaboklab(18.92% 0.0258 -0.0684)
OKLCHoklch(18.92% 0.073 290.7)
XYZxyz(0.9720, 0.5982, 2.9694)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A31 #26310A
analogous
#0A1331 #150A31 #290A31
triadic
#150A31 #31150A #0A3115
tetradic
#150A31 #310A13 #26310A #0A3129
square
#150A31 #310A13 #26310A #0A3129
split-complementary
#150A31 #31290A #13310A
monochromatic
#0B0519 #0B0519 #150A31 #2B1464 #411F97

Accessibility & contrast

On white

18.76
#150A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#150A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150A31
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A31#FFFFFF#000000##FFFFFF
##150A311.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001332
Deuteranopia (green-blind)
#001130
Tritanopia (blue-blind)
#0C141C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #150a31;
/* rgb */ color: rgb(21, 10, 49);
/* oklch */ color: oklch(18.9% 0.073 290.7);
Tailwind
colors: {
  custom: {
    50: '#554a69',
    500: '#150a31',
    950: '#000000',
  },
}
SCSS
$custom: #150a31;
$custom-light: #554a69;
$custom-dark: #000000;
JSON
{
  "hex": "#150a31",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 49
  },
  "hsl": {
    "h": 256.923,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18922,
    "c": 0.07314,
    "h": 290.7
  },
  "luminance": 0.00598
}

Semantic roles & 50–950 ramp

primary
#150A31
secondary
#5B6E29
accent
#E93FB9
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150A31

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

Preview Lab → · Contrast checker → · Palette generator →

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