#28132D#28132D

#28132D is a very dark, muted purple. Relative luminance 0.011; OKLCH L 23.0% C 0.056 H 319.7°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#28132D
RGBrgb(40, 19, 45)
HSLhsl(288, 41%, 13%)
HSVhsv(288, 58%, 18%)
CMYKcmyk(11.1%, 57.8%, 0%, 82.4%)
CIE-LABlab(9.85, 16.23, -13.12)
CIE-LCHlch(9.85, 20.87, 321.06°)
OKLaboklab(22.95% 0.0427 -0.0363)
OKLCHoklch(22.95% 0.056 319.7)
XYZxyz(1.5815, 1.1064, 2.6124)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28132D #182D13
analogous
#1B132D #28132D #2D1325
triadic
#28132D #2D2813 #132D28
tetradic
#28132D #2D1B13 #182D13 #13252D
square
#28132D #2D1B13 #182D13 #13252D
split-complementary
#28132D #252D13 #132D1B
monochromatic
#130916 #130916 #28132D #4E2558 #753783

Accessibility & contrast

On white

17.20
#28132D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#28132D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28132D
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28132D#FFFFFF#000000##FFFFFF
##28132D1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1A2E
Deuteranopia (green-blind)
#151C2C
Tritanopia (blue-blind)
#28161D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #28132d;
/* rgb */ color: rgb(40, 19, 45);
/* oklch */ color: oklch(23.0% 0.056 319.7);
Tailwind
colors: {
  custom: {
    50: '#635166',
    500: '#28132d',
    950: '#000000',
  },
}
SCSS
$custom: #28132d;
$custom-light: #635166;
$custom-dark: #000000;
JSON
{
  "hex": "#28132d",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 45
  },
  "hsl": {
    "h": 288.462,
    "s": 40.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22952,
    "c": 0.05605,
    "h": 319.7
  },
  "luminance": 0.01106
}

Semantic roles & 50–950 ramp

primary
#28132D
secondary
#406438
accent
#D0576F
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050205
muted
#79787A

Preview Lab

Preview with #28132D

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

Preview Lab → · Contrast checker → · Palette generator →

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