#15032D#15032D

#15032D is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.1% C 0.081 H 297.7°. Best body text is #FFFFFF at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#15032D
RGBrgb(21, 3, 45)
HSLhsl(266, 88%, 9%)
HSVhsv(266, 93%, 18%)
CMYKcmyk(53.3%, 93.3%, 0%, 82.4%)
CIE-LABlab(3.74, 17.28, -22.96)
CIE-LCHlch(3.74, 28.73, 306.98°)
OKLaboklab(17.07% 0.0375 -0.0712)
OKLCHoklch(17.07% 0.081 297.7)
XYZxyz(0.8154, 0.4140, 2.5191)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15032D #1B2D03
analogous
#03062D #15032D #2A032D
triadic
#15032D #2D1503 #032D15
tetradic
#15032D #2D0306 #1B2D03 #032D2A
square
#15032D #2D0306 #1B2D03 #032D2A
split-complementary
#15032D #2D2A03 #062D03
monochromatic
#0D021D #0D021D #15032D #300766 #4B0BA0

Accessibility & contrast

On white

19.39
#15032D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#15032D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15032D
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15032D#FFFFFF#000000##FFFFFF
##15032D1.0019.391.0819.39
#FFFFFF19.391.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2E
Deuteranopia (green-blind)
#000D2C
Tritanopia (blue-blind)
#0F0D17
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #15032d;
/* rgb */ color: rgb(21, 3, 45);
/* oklch */ color: oklch(17.1% 0.081 297.7);
Tailwind
colors: {
  custom: {
    50: '#534766',
    500: '#15032d',
    950: '#000000',
  },
}
SCSS
$custom: #15032d;
$custom-light: #534766;
$custom-dark: #000000;
JSON
{
  "hex": "#15032d",
  "rgb": {
    "r": 21,
    "g": 3,
    "b": 45
  },
  "hsl": {
    "h": 265.714,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17071,
    "c": 0.08051,
    "h": 297.7
  },
  "luminance": 0.00414
}

Semantic roles & 50–950 ramp

primary
#15032D
secondary
#4C711B
accent
#FE2AA3
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #15032D

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

Preview Lab → · Contrast checker → · Palette generator →

#15032D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva