#281A2C#281A2C

#281A2C is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.4% C 0.039 H 318.6°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#281A2C
RGBrgb(40, 26, 44)
HSLhsl(287, 26%, 14%)
HSVhsv(287, 41%, 17%)
CMYKcmyk(9.1%, 40.9%, 0%, 82.7%)
CIE-LABlab(11.77, 11.04, -9.40)
CIE-LCHlch(11.77, 14.50, 319.59°)
OKLaboklab(24.38% 0.0291 -0.0257)
OKLCHoklch(24.38% 0.039 318.6)
XYZxyz(1.6990, 1.3718, 2.5577)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A2C #1E2C1A
analogous
#1F1A2C #281A2C #2C1A27
triadic
#281A2C #2C281A #1A2C28
tetradic
#281A2C #2C1F1A #1E2C1A #1A272C
square
#281A2C #2C1F1A #1E2C1A #1A272C
split-complementary
#281A2C #272C1A #1A2C1F
monochromatic
#110B13 #110B13 #281A2C #4B3152 #6E4779

Accessibility & contrast

On white

16.48
#281A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#281A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A2C
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A2C#FFFFFF#000000##FFFFFF
##281A2C1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181E2D
Deuteranopia (green-blind)
#1B202B
Tritanopia (blue-blind)
#281C21
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #281a2c;
/* rgb */ color: rgb(40, 26, 44);
/* oklch */ color: oklch(24.4% 0.039 318.6);
Tailwind
colors: {
  custom: {
    50: '#625665',
    500: '#281a2c',
    950: '#000000',
  },
}
SCSS
$custom: #281a2c;
$custom-light: #625665;
$custom-dark: #000000;
JSON
{
  "hex": "#281a2c",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 44
  },
  "hsl": {
    "h": 286.667,
    "s": 25.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24378,
    "c": 0.03884,
    "h": 318.6
  },
  "luminance": 0.01372
}

Semantic roles & 50–950 ramp

primary
#281A2C
secondary
#495F42
accent
#C2667A
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050305
muted
#79787A

Preview Lab

Preview with #281A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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