#281C28#281C28

#281C28 is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.6% C 0.028 H 326.4°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#281C28
RGBrgb(40, 28, 40)
HSLhsl(300, 18%, 13%)
HSVhsv(300, 30%, 16%)
CMYKcmyk(0%, 30%, 0%, 84.3%)
CIE-LABlab(12.19, 8.57, -5.84)
CIE-LCHlch(12.19, 10.37, 325.73°)
OKLaboklab(24.64% 0.0237 -0.0157)
OKLCHoklch(24.64% 0.028 326.4)
XYZxyz(1.6733, 1.4349, 2.1959)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C28 #1C281C
analogous
#221C28 #281C28 #281C22
triadic
#281C28 #28281C #1C2828
tetradic
#281C28 #28221C #1C281C #1C2228
square
#281C28 #28221C #1C281C #1C2228
split-complementary
#281C28 #22281C #1C2822
monochromatic
#120D12 #120D12 #281C28 #4C354C #704E70

Accessibility & contrast

On white

16.32
#281C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#281C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C28
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C28#FFFFFF#000000##FFFFFF
##281C281.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F28
Deuteranopia (green-blind)
#1E2028
Tritanopia (blue-blind)
#291D20
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #281c28;
/* rgb */ color: rgb(40, 28, 40);
/* oklch */ color: oklch(24.6% 0.028 326.4);
Tailwind
colors: {
  custom: {
    50: '#625861',
    500: '#281c28',
    950: '#000000',
  },
}
SCSS
$custom: #281c28;
$custom-light: #625861;
$custom-dark: #000000;
JSON
{
  "hex": "#281c28",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 40
  },
  "hsl": {
    "h": 300,
    "s": 17.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24635,
    "c": 0.02842,
    "h": 326.4
  },
  "luminance": 0.01435
}

Semantic roles & 50–950 ramp

primary
#281C28
secondary
#465A46
accent
#BA6D6D
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050305
muted
#797879

Preview Lab

Preview with #281C28

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

Preview Lab → · Contrast checker → · Palette generator →

#281C28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva