#28142E#28142E

#28142E is a very dark, muted purple. Relative luminance 0.011; OKLCH L 23.2% C 0.055 H 318.1°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#28142E
RGBrgb(40, 20, 46)
HSLhsl(286, 39%, 13%)
HSVhsv(286, 57%, 18%)
CMYKcmyk(13%, 56.5%, 0%, 82%)
CIE-LABlab(10.17, 15.81, -13.34)
CIE-LCHlch(10.17, 20.69, 319.84°)
OKLaboklab(23.21% 0.0411 -0.0369)
OKLCHoklch(23.21% 0.055 318.1)
XYZxyz(1.6183, 1.1487, 2.7207)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28142E #1A2E14
analogous
#1B142E #28142E #2E1427
triadic
#28142E #2E2814 #142E28
tetradic
#28142E #2E1B14 #1A2E14 #14272E
square
#28142E #2E1B14 #1A2E14 #14272E
split-complementary
#28142E #272E14 #142E1B
monochromatic
#130915 #130915 #28142E #4D2759 #723983

Accessibility & contrast

On white

17.08
#28142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#28142E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28142E
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28142E#FFFFFF#000000##FFFFFF
##28142E1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101A2F
Deuteranopia (green-blind)
#151C2D
Tritanopia (blue-blind)
#28181E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #28142e;
/* rgb */ color: rgb(40, 20, 46);
/* oklch */ color: oklch(23.2% 0.055 318.1);
Tailwind
colors: {
  custom: {
    50: '#625266',
    500: '#28142e',
    950: '#000000',
  },
}
SCSS
$custom: #28142e;
$custom-light: #625266;
$custom-dark: #000000;
JSON
{
  "hex": "#28142e",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 286.154,
    "s": 39.394,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23214,
    "c": 0.05524,
    "h": 318.1
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#28142E
secondary
#436539
accent
#CF5974
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #28142E

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

Preview Lab → · Contrast checker → · Palette generator →

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