#28002E#28002E

#28002E is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.9% C 0.095 H 322.3°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#28002E
RGBrgb(40, 0, 46)
HSLhsl(292, 100%, 9%)
HSVhsv(292, 100%, 18%)
CMYKcmyk(13%, 100%, 0%, 82%)
CIE-LABlab(5.86, 27.41, -20.18)
CIE-LCHlch(5.86, 34.04, 323.64°)
OKLaboklab(19.93% 0.0748 -0.0577)
OKLCHoklch(19.93% 0.095 322.3)
XYZxyz(1.3682, 0.6485, 2.6373)
Luminance0.0065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28002E #062E00
analogous
#11002E #28002E #2E001D
triadic
#28002E #2E2800 #002E28
tetradic
#28002E #2E1100 #062E00 #001D2E
square
#28002E #2E1100 #062E00 #001D2E
split-complementary
#28002E #1D2E00 #002E11
monochromatic
#1B001F #1B001F #28002E #5D006B #9200A8

Accessibility & contrast

On white

18.59
#28002E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#28002E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28002E
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28002E#FFFFFF#000000##FFFFFF
##28002E1.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#05142D
Tritanopia (blue-blind)
#290817
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #28002e;
/* rgb */ color: rgb(40, 0, 46);
/* oklch */ color: oklch(19.9% 0.095 322.3);
Tailwind
colors: {
  custom: {
    50: '#644667',
    500: '#28002e',
    950: '#000000',
  },
}
SCSS
$custom: #28002e;
$custom-light: #644667;
$custom-dark: #000000;
JSON
{
  "hex": "#28002e",
  "rgb": {
    "r": 40,
    "g": 0,
    "b": 46
  },
  "hsl": {
    "h": 292.174,
    "s": 100,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19935,
    "c": 0.09451,
    "h": 322.3
  },
  "luminance": 0.00648
}

Semantic roles & 50–950 ramp

primary
#28002E
secondary
#217515
accent
#FF2945
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #28002E

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

Preview Lab → · Contrast checker → · Palette generator →

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