#150C32#150C32

#150C32 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.4% C 0.071 H 288.8°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#150C32
RGBrgb(21, 12, 50)
HSLhsl(254, 61%, 12%)
HSVhsv(254, 76%, 20%)
CMYKcmyk(58%, 76%, 0%, 80.4%)
CIE-LABlab(5.89, 15.78, -23.25)
CIE-LCHlch(5.89, 28.10, 304.16°)
OKLaboklab(19.4% 0.0231 -0.0676)
OKLCHoklch(19.4% 0.071 288.8)
XYZxyz(1.0163, 0.6526, 3.0894)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C32 #29320C
analogous
#0C1632 #150C32 #280C32
triadic
#150C32 #32150C #0C3215
tetradic
#150C32 #320C16 #29320C #0C3228
square
#150C32 #320C16 #29320C #0C3228
split-complementary
#150C32 #32280C #16320C
monochromatic
#0A0619 #0A0619 #150C32 #2A1863 #3E2495

Accessibility & contrast

On white

18.57
#150C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#150C32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150C32
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C32#FFFFFF#000000##FFFFFF
##150C321.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001433
Deuteranopia (green-blind)
#001231
Tritanopia (blue-blind)
#0B151D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #150c32;
/* rgb */ color: rgb(21, 12, 50);
/* oklch */ color: oklch(19.4% 0.071 288.8);
Tailwind
colors: {
  custom: {
    50: '#554b6a',
    500: '#150c32',
    950: '#000000',
  },
}
SCSS
$custom: #150c32;
$custom-light: #554b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#150c32",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 50
  },
  "hsl": {
    "h": 254.211,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19401,
    "c": 0.07148,
    "h": 288.8
  },
  "luminance": 0.00653
}

Semantic roles & 50–950 ramp

primary
#150C32
secondary
#5E6E2C
accent
#E443BE
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150C32

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

Preview Lab → · Contrast checker → · Palette generator →

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