#281C2A#281C2A

#281C2A is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.7% C 0.031 H 321.6°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#281C2A
RGBrgb(40, 28, 42)
HSLhsl(291, 20%, 14%)
HSVhsv(291, 33%, 16%)
CMYKcmyk(4.8%, 33.3%, 0%, 83.5%)
CIE-LABlab(12.28, 9.08, -7.16)
CIE-LCHlch(12.28, 11.56, 321.73°)
OKLaboklab(24.74% 0.0245 -0.0194)
OKLCHoklch(24.74% 0.031 321.6)
XYZxyz(1.7082, 1.4488, 2.3797)
Luminance0.0145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C2A #1E2A1C
analogous
#211C2A #281C2A #2A1C25
triadic
#281C2A #2A281C #1C2A28
tetradic
#281C2A #2A211C #1E2A1C #1C252A
square
#281C2A #2A211C #1E2A1C #1C252A
split-complementary
#281C2A #252A1C #1C2A21
monochromatic
#110C12 #110C12 #281C2A #4B344F #6E4D73

Accessibility & contrast

On white

16.28
#281C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281C2A
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C2A#FFFFFF#000000##FFFFFF
##281C2A1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F2B
Deuteranopia (green-blind)
#1D212A
Tritanopia (blue-blind)
#281D21
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #281c2a;
/* rgb */ color: rgb(40, 28, 42);
/* oklch */ color: oklch(24.7% 0.031 321.6);
Tailwind
colors: {
  custom: {
    50: '#625863',
    500: '#281c2a',
    950: '#000000',
  },
}
SCSS
$custom: #281c2a;
$custom-light: #625863;
$custom-dark: #000000;
JSON
{
  "hex": "#281c2a",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 42
  },
  "hsl": {
    "h": 291.429,
    "s": 20,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24735,
    "c": 0.03123,
    "h": 321.6
  },
  "luminance": 0.01449
}

Semantic roles & 50–950 ramp

primary
#281C2A
secondary
#495C46
accent
#BD6B77
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050305
muted
#797879

Preview Lab

Preview with #281C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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