#281A2D#281A2D

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

Color values

HEX#281A2D
RGBrgb(40, 26, 45)
HSLhsl(284, 27%, 14%)
HSVhsv(284, 42%, 18%)
CMYKcmyk(11.1%, 42.2%, 0%, 82.4%)
CIE-LABlab(11.82, 11.31, -10.05)
CIE-LCHlch(11.82, 15.13, 318.37°)
OKLaboklab(24.43% 0.0295 -0.0275)
OKLCHoklch(24.43% 0.04 316.9)
XYZxyz(1.7181, 1.3794, 2.6579)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A2D #1F2D1A
analogous
#1F1A2D #281A2D #2D1A29
triadic
#281A2D #2D281A #1A2D28
tetradic
#281A2D #2D1F1A #1F2D1A #1A292D
square
#281A2D #2D1F1A #1F2D1A #1A292D
split-complementary
#281A2D #292D1A #1A2D1F
monochromatic
#110B13 #110B13 #281A2D #4A3054 #6D477B

Accessibility & contrast

On white

16.46
#281A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281A2D
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A2D#FFFFFF#000000##FFFFFF
##281A2D1.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171E2E
Deuteranopia (green-blind)
#1B202C
Tritanopia (blue-blind)
#281C21
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #281a2d;
/* rgb */ color: rgb(40, 26, 45);
/* oklch */ color: oklch(24.4% 0.040 316.9);
Tailwind
colors: {
  custom: {
    50: '#625666',
    500: '#281a2d',
    950: '#000000',
  },
}
SCSS
$custom: #281a2d;
$custom-light: #625666;
$custom-dark: #000000;
JSON
{
  "hex": "#281a2d",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 45
  },
  "hsl": {
    "h": 284.211,
    "s": 26.761,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24433,
    "c": 0.04032,
    "h": 316.9
  },
  "luminance": 0.01379
}

Semantic roles & 50–950 ramp

primary
#281A2D
secondary
#4A6142
accent
#C3657E
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050305
muted
#79787A

Preview Lab

Preview with #281A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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