#150A32#150A32

#150A32 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.075 H 290.1°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#150A32
RGBrgb(21, 10, 50)
HSLhsl(257, 67%, 12%)
HSVhsv(257, 80%, 20%)
CMYKcmyk(58%, 80%, 0%, 80.4%)
CIE-LABlab(5.48, 16.73, -23.91)
CIE-LCHlch(5.48, 29.18, 304.97°)
OKLaboklab(19.02% 0.0256 -0.0701)
OKLCHoklch(19.02% 0.075 290.1)
XYZxyz(0.9934, 0.6068, 3.0818)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A32 #27320A
analogous
#0A1332 #150A32 #290A32
triadic
#150A32 #32150A #0A3215
tetradic
#150A32 #320A13 #27320A #0A3229
square
#150A32 #320A13 #27320A #0A3229
split-complementary
#150A32 #32290A #13320A
monochromatic
#0B051A #0B051A #150A32 #2A1465 #401E98

Accessibility & contrast

On white

18.73
#150A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150A32
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A32#FFFFFF#000000##FFFFFF
##150A321.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001333
Deuteranopia (green-blind)
#001131
Tritanopia (blue-blind)
#0B141C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #150a32;
/* rgb */ color: rgb(21, 10, 50);
/* oklch */ color: oklch(19.0% 0.075 290.1);
Tailwind
colors: {
  custom: {
    50: '#554a6a',
    500: '#150a32',
    950: '#000000',
  },
}
SCSS
$custom: #150a32;
$custom-light: #554a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#150a32",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 50
  },
  "hsl": {
    "h": 256.5,
    "s": 66.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19025,
    "c": 0.07468,
    "h": 290.1
  },
  "luminance": 0.00607
}

Semantic roles & 50–950 ramp

primary
#150A32
secondary
#5C6F28
accent
#EA3EBA
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150A32

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

Preview Lab → · Contrast checker → · Palette generator →

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