#281C2D#281C2D

#281C2D is a very dark, muted purple. Relative luminance 0.015; OKLCH L 24.9% C 0.036 H 315.7°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#281C2D
RGBrgb(40, 28, 45)
HSLhsl(282, 23%, 14%)
HSVhsv(282, 38%, 18%)
CMYKcmyk(11.1%, 37.8%, 0%, 82.4%)
CIE-LABlab(12.42, 9.86, -9.12)
CIE-LCHlch(12.42, 13.44, 317.24°)
OKLaboklab(24.89% 0.0256 -0.0249)
OKLCHoklch(24.89% 0.036 315.7)
XYZxyz(1.7639, 1.4711, 2.6731)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C2D #212D1C
analogous
#201C2D #281C2D #2D1C2A
triadic
#281C2D #2D281C #1C2D28
tetradic
#281C2D #2D201C #212D1C #1C2A2D
square
#281C2D #2D201C #212D1C #1C2A2D
split-complementary
#281C2D #2A2D1C #1C2D20
monochromatic
#110C13 #110C13 #281C2D #4A3353 #6B4B78

Accessibility & contrast

On white

16.23
#281C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#281C2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C2D
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C2D#FFFFFF#000000##FFFFFF
##281C2D1.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A202E
Deuteranopia (green-blind)
#1C212C
Tritanopia (blue-blind)
#281E22
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #281c2d;
/* rgb */ color: rgb(40, 28, 45);
/* oklch */ color: oklch(24.9% 0.036 315.7);
Tailwind
colors: {
  custom: {
    50: '#625866',
    500: '#281c2d',
    950: '#000000',
  },
}
SCSS
$custom: #281c2d;
$custom-light: #625866;
$custom-dark: #000000;
JSON
{
  "hex": "#281c2d",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 45
  },
  "hsl": {
    "h": 282.353,
    "s": 23.288,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24892,
    "c": 0.0357,
    "h": 315.7
  },
  "luminance": 0.01471
}

Semantic roles & 50–950 ramp

primary
#281C2D
secondary
#4D6045
accent
#C06882
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050305
muted
#79787A

Preview Lab

Preview with #281C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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