#281F29#281F29

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

Color values

HEX#281F29
RGBrgb(40, 31, 41)
HSLhsl(294, 14%, 14%)
HSVhsv(294, 24%, 16%)
CMYKcmyk(2.4%, 24.4%, 0%, 83.9%)
CIE-LABlab(13.18, 6.65, -5.07)
CIE-LCHlch(13.18, 8.36, 322.65°)
OKLaboklab(25.41% 0.0181 -0.0136)
OKLCHoklch(25.41% 0.023 323)
XYZxyz(1.7652, 1.5912, 2.3115)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281F29 #20291F
analogous
#231F29 #281F29 #291F25
triadic
#281F29 #29281F #1F2928
tetradic
#281F29 #29231F #20291F #1F2529
square
#281F29 #29231F #20291F #1F2529
split-complementary
#281F29 #25291F #1F2923
monochromatic
#110D11 #110D11 #281F29 #4A394C #6C546F

Accessibility & contrast

On white

15.93
#281F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#281F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281F29
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281F29#FFFFFF#000000##FFFFFF
##281F291.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2129
Deuteranopia (green-blind)
#202229
Tritanopia (blue-blind)
#282022
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #281f29;
/* rgb */ color: rgb(40, 31, 41);
/* oklch */ color: oklch(25.4% 0.023 323.0);
Tailwind
colors: {
  custom: {
    50: '#625a62',
    500: '#281f29',
    950: '#000000',
  },
}
SCSS
$custom: #281f29;
$custom-light: #625a62;
$custom-dark: #000000;
JSON
{
  "hex": "#281f29",
  "rgb": {
    "r": 40,
    "g": 31,
    "b": 41
  },
  "hsl": {
    "h": 294,
    "s": 13.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25409,
    "c": 0.02265,
    "h": 323
  },
  "luminance": 0.01591
}

Semantic roles & 50–950 ramp

primary
#281F29
secondary
#4C5A4A
accent
#B77178
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050305
muted
#797879

Preview Lab

Preview with #281F29

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

Preview Lab → · Contrast checker → · Palette generator →

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