#281A2E#281A2E

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

Color values

HEX#281A2E
RGBrgb(40, 26, 46)
HSLhsl(282, 28%, 14%)
HSVhsv(282, 43%, 18%)
CMYKcmyk(13%, 43.5%, 0%, 82%)
CIE-LABlab(11.87, 11.58, -10.70)
CIE-LCHlch(11.87, 15.76, 317.25°)
OKLaboklab(24.49% 0.0298 -0.0294)
OKLCHoklch(24.49% 0.042 315.4)
XYZxyz(1.7375, 1.3872, 2.7605)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A2E #202E1A
analogous
#1E1A2E #281A2E #2E1A2A
triadic
#281A2E #2E281A #1A2E28
tetradic
#281A2E #2E1E1A #202E1A #1A2A2E
square
#281A2E #2E1E1A #202E1A #1A2A2E
split-complementary
#281A2E #2A2E1A #1A2E1E
monochromatic
#110B14 #110B14 #281A2E #4A3055 #6C467C

Accessibility & contrast

On white

16.44
#281A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281A2E
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A2E#FFFFFF#000000##FFFFFF
##281A2E1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171E2F
Deuteranopia (green-blind)
#1A202D
Tritanopia (blue-blind)
#281D21
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #281a2e;
/* rgb */ color: rgb(40, 26, 46);
/* oklch */ color: oklch(24.5% 0.042 315.4);
Tailwind
colors: {
  custom: {
    50: '#625666',
    500: '#281a2e',
    950: '#000000',
  },
}
SCSS
$custom: #281a2e;
$custom-light: #625666;
$custom-dark: #000000;
JSON
{
  "hex": "#281a2e",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 282,
    "s": 27.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2449,
    "c": 0.04183,
    "h": 315.4
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#281A2E
secondary
#4C6242
accent
#C46481
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050306
muted
#79787A

Preview Lab

Preview with #281A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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