#15032C#15032C

#15032C is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.0% C 0.079 H 298.6°. Best body text is #FFFFFF at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#15032C
RGBrgb(21, 3, 44)
HSLhsl(266, 87%, 9%)
HSVhsv(266, 93%, 17%)
CMYKcmyk(52.3%, 93.2%, 0%, 82.7%)
CIE-LABlab(3.67, 16.80, -22.31)
CIE-LCHlch(3.67, 27.92, 306.98°)
OKLaboklab(16.96% 0.0379 -0.0696)
OKLCHoklch(16.96% 0.079 298.6)
XYZxyz(0.7963, 0.4064, 2.4189)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15032C #1A2C03
analogous
#03062C #15032C #2A032C
triadic
#15032C #2C1503 #032C15
tetradic
#15032C #2C0306 #1A2C03 #032C2A
square
#15032C #2C0306 #1A2C03 #032C2A
split-complementary
#15032C #2C2A03 #062C03
monochromatic
#0E021D #0E021D #15032C #300765 #4C0B9F

Accessibility & contrast

On white

19.42
#15032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15032C
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15032C#FFFFFF#000000##FFFFFF
##15032C1.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15032c;
/* rgb */ color: rgb(21, 3, 44);
/* oklch */ color: oklch(17.0% 0.079 298.6);
Tailwind
colors: {
  custom: {
    50: '#534765',
    500: '#15032c',
    950: '#000000',
  },
}
SCSS
$custom: #15032c;
$custom-light: #534765;
$custom-dark: #000000;
JSON
{
  "hex": "#15032c",
  "rgb": {
    "r": 21,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 266.341,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16957,
    "c": 0.07923,
    "h": 298.6
  },
  "luminance": 0.00406
}

Semantic roles & 50–950 ramp

primary
#15032C
secondary
#4B701B
accent
#FD2AA1
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #15032C

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

Preview Lab → · Contrast checker → · Palette generator →

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