#281E2D#281E2D

#281E2D is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.4% C 0.031 H 314.2°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#281E2D
RGBrgb(40, 30, 45)
HSLhsl(280, 20%, 15%)
HSVhsv(280, 33%, 18%)
CMYKcmyk(11.1%, 33.3%, 0%, 82.4%)
CIE-LABlab(13.04, 8.41, -8.17)
CIE-LCHlch(13.04, 11.73, 315.83°)
OKLaboklab(25.37% 0.0217 -0.0223)
OKLCHoklch(25.37% 0.031 314.2)
XYZxyz(1.8129, 1.5692, 2.6895)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E2D #232D1E
analogous
#211E2D #281E2D #2D1E2B
triadic
#281E2D #2D281E #1E2D28
tetradic
#281E2D #2D211E #232D1E #1E2B2D
square
#281E2D #2D211E #232D1E #1E2B2D
split-complementary
#281E2D #2B2D1E #1E2D21
monochromatic
#100C12 #100C12 #281E2D #493652 #694F76

Accessibility & contrast

On white

15.98
#281E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#281E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E2D
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E2D#FFFFFF#000000##FFFFFF
##281E2D1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C212E
Deuteranopia (green-blind)
#1E222D
Tritanopia (blue-blind)
#282023
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #281e2d;
/* rgb */ color: rgb(40, 30, 45);
/* oklch */ color: oklch(25.4% 0.031 314.2);
Tailwind
colors: {
  custom: {
    50: '#625965',
    500: '#281e2d',
    950: '#000000',
  },
}
SCSS
$custom: #281e2d;
$custom-light: #625965;
$custom-dark: #000000;
JSON
{
  "hex": "#281e2d",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 45
  },
  "hsl": {
    "h": 280,
    "s": 20,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25365,
    "c": 0.03108,
    "h": 314.2
  },
  "luminance": 0.01569
}

Semantic roles & 50–950 ramp

primary
#281E2D
secondary
#505F48
accent
#BD6B86
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050305
muted
#79787A

Preview Lab

Preview with #281E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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