#28032E#28032E

#28032E is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.4% C 0.088 H 321.8°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#28032E
RGBrgb(40, 3, 46)
HSLhsl(292, 88%, 10%)
HSVhsv(292, 93%, 18%)
CMYKcmyk(13%, 93.5%, 0%, 82%)
CIE-LABlab(6.45, 25.84, -19.25)
CIE-LCHlch(6.45, 32.22, 323.32°)
OKLaboklab(20.42% 0.0693 -0.0545)
OKLCHoklch(20.42% 0.088 321.8)
XYZxyz(1.4007, 0.7136, 2.6482)
Luminance0.0071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28032E #092E03
analogous
#13032E #28032E #2E031F
triadic
#28032E #2E2803 #032E28
tetradic
#28032E #2E1303 #092E03 #031F2E
square
#28032E #2E1303 #092E03 #031F2E
split-complementary
#28032E #1F2E03 #032E13
monochromatic
#19021D #19021D #28032E #5A0767 #8C0AA1

Accessibility & contrast

On white

18.38
#28032E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28032E
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28032E#FFFFFF#000000##FFFFFF
##28032E1.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#08162D
Tritanopia (blue-blind)
#280B18
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #28032e;
/* rgb */ color: rgb(40, 3, 46);
/* oklch */ color: oklch(20.4% 0.088 321.8);
Tailwind
colors: {
  custom: {
    50: '#644867',
    500: '#28032e',
    950: '#000000',
  },
}
SCSS
$custom: #28032e;
$custom-light: #644867;
$custom-dark: #000000;
JSON
{
  "hex": "#28032e",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 46
  },
  "hsl": {
    "h": 291.628,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20425,
    "c": 0.08814,
    "h": 321.8
  },
  "luminance": 0.00713
}

Semantic roles & 50–950 ramp

primary
#28032E
secondary
#27721B
accent
#FE2A47
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #28032E

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

Preview Lab → · Contrast checker → · Palette generator →

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