#28032C#28032C

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

Color values

HEX#28032C
RGBrgb(40, 3, 44)
HSLhsl(294, 87%, 9%)
HSVhsv(294, 93%, 17%)
CMYKcmyk(9.1%, 93.2%, 0%, 82.7%)
CIE-LABlab(6.31, 25.30, -17.97)
CIE-LCHlch(6.31, 31.03, 324.62°)
OKLaboklab(20.26% 0.0696 -0.0509)
OKLCHoklch(20.26% 0.086 323.8)
XYZxyz(1.3622, 0.6982, 2.4454)
Luminance0.0070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28032C #072C03
analogous
#14032C #28032C #2C031C
triadic
#28032C #2C2803 #032C28
tetradic
#28032C #2C1403 #072C03 #031C2C
square
#28032C #2C1403 #072C03 #031C2C
split-complementary
#28032C #1C2C03 #032C14
monochromatic
#1A021D #1A021D #28032C #5C0765 #900B9F

Accessibility & contrast

On white

18.43
#28032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28032C
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28032C#FFFFFF#000000##FFFFFF
##28032C1.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112D
Deuteranopia (green-blind)
#09152B
Tritanopia (blue-blind)
#290A17
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #28032c;
/* rgb */ color: rgb(40, 3, 44);
/* oklch */ color: oklch(20.3% 0.086 323.8);
Tailwind
colors: {
  custom: {
    50: '#644865',
    500: '#28032c',
    950: '#000000',
  },
}
SCSS
$custom: #28032c;
$custom-light: #644865;
$custom-dark: #000000;
JSON
{
  "hex": "#28032c",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 294.146,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20259,
    "c": 0.08618,
    "h": 323.8
  },
  "luminance": 0.00698
}

Semantic roles & 50–950 ramp

primary
#28032C
secondary
#23701B
accent
#FD2A3F
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050005
muted
#7A777A

Preview Lab

Preview with #28032C

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

Preview Lab → · Contrast checker → · Palette generator →

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