#28032D#28032D

#28032D is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.3% C 0.087 H 322.8°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#28032D
RGBrgb(40, 3, 45)
HSLhsl(293, 88%, 9%)
HSVhsv(293, 93%, 18%)
CMYKcmyk(11.1%, 93.3%, 0%, 82.4%)
CIE-LABlab(6.38, 25.57, -18.61)
CIE-LCHlch(6.38, 31.62, 323.95°)
OKLaboklab(20.34% 0.0694 -0.0527)
OKLCHoklch(20.34% 0.087 322.8)
XYZxyz(1.3812, 0.7058, 2.5456)
Luminance0.0071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28032D #082D03
analogous
#13032D #28032D #2D031D
triadic
#28032D #2D2803 #032D28
tetradic
#28032D #2D1303 #082D03 #031D2D
square
#28032D #2D1303 #082D03 #031D2D
split-complementary
#28032D #1D2D03 #032D13
monochromatic
#19021D #19021D #28032D #5B0766 #8E0BA0

Accessibility & contrast

On white

18.40
#28032D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#28032D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28032D
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28032D#FFFFFF#000000##FFFFFF
##28032D1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112E
Deuteranopia (green-blind)
#09162C
Tritanopia (blue-blind)
#290A17
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #28032d;
/* rgb */ color: rgb(40, 3, 45);
/* oklch */ color: oklch(20.3% 0.087 322.8);
Tailwind
colors: {
  custom: {
    50: '#644866',
    500: '#28032d',
    950: '#000000',
  },
}
SCSS
$custom: #28032d;
$custom-light: #644866;
$custom-dark: #000000;
JSON
{
  "hex": "#28032d",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 45
  },
  "hsl": {
    "h": 292.857,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20342,
    "c": 0.08716,
    "h": 322.8
  },
  "luminance": 0.00706
}

Semantic roles & 50–950 ramp

primary
#28032D
secondary
#25711B
accent
#FE2A43
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #28032D

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

Preview Lab → · Contrast checker → · Palette generator →

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