#281A2F#281A2F

#281A2F is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.5% C 0.043 H 313.9°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#281A2F
RGBrgb(40, 26, 47)
HSLhsl(280, 29%, 14%)
HSVhsv(280, 45%, 18%)
CMYKcmyk(14.9%, 44.7%, 0%, 81.6%)
CIE-LABlab(11.93, 11.85, -11.34)
CIE-LCHlch(11.93, 16.40, 316.25°)
OKLaboklab(24.55% 0.0301 -0.0312)
OKLCHoklch(24.55% 0.043 313.9)
XYZxyz(1.7575, 1.3952, 2.8655)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A2F #212F1A
analogous
#1E1A2F #281A2F #2F1A2C
triadic
#281A2F #2F281A #1A2F28
tetradic
#281A2F #2F1E1A #212F1A #1A2C2F
square
#281A2F #2F1E1A #212F1A #1A2C2F
split-complementary
#281A2F #2C2F1A #1A2F1E
monochromatic
#110B14 #110B14 #281A2F #4A3056 #6B467E

Accessibility & contrast

On white

16.42
#281A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#281A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A2F
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A2F#FFFFFF#000000##FFFFFF
##281A2F1.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161F30
Deuteranopia (green-blind)
#1A202E
Tritanopia (blue-blind)
#281D22
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #281a2f;
/* rgb */ color: rgb(40, 26, 47);
/* oklch */ color: oklch(24.5% 0.043 313.9);
Tailwind
colors: {
  custom: {
    50: '#625667',
    500: '#281a2f',
    950: '#000000',
  },
}
SCSS
$custom: #281a2f;
$custom-light: #625667;
$custom-dark: #000000;
JSON
{
  "hex": "#281a2f",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 280,
    "s": 28.767,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24548,
    "c": 0.04335,
    "h": 313.9
  },
  "luminance": 0.01395
}

Semantic roles & 50–950 ramp

primary
#281A2F
secondary
#4D6342
accent
#C56384
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050306
muted
#79787A

Preview Lab

Preview with #281A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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