#281C2E#281C2E

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

Color values

HEX#281C2E
RGBrgb(40, 28, 46)
HSLhsl(280, 24%, 15%)
HSVhsv(280, 39%, 18%)
CMYKcmyk(13%, 39.1%, 0%, 82%)
CIE-LABlab(12.47, 10.13, -9.77)
CIE-LCHlch(12.47, 14.08, 316.05°)
OKLaboklab(24.95% 0.0259 -0.0268)
OKLCHoklch(24.95% 0.037 314.1)
XYZxyz(1.7834, 1.4789, 2.7757)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C2E #222E1C
analogous
#1F1C2E #281C2E #2E1C2B
triadic
#281C2E #2E281C #1C2E28
tetradic
#281C2E #2E1F1C #222E1C #1C2B2E
square
#281C2E #2E1F1C #222E1C #1C2B2E
split-complementary
#281C2E #2B2E1C #1C2E1F
monochromatic
#110C13 #110C13 #281C2E #493354 #6A4A7A

Accessibility & contrast

On white

16.21
#281C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#281C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C2E
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C2E#FFFFFF#000000##FFFFFF
##281C2E1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19202F
Deuteranopia (green-blind)
#1C212D
Tritanopia (blue-blind)
#281E23
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #281c2e;
/* rgb */ color: rgb(40, 28, 46);
/* oklch */ color: oklch(24.9% 0.037 314.1);
Tailwind
colors: {
  custom: {
    50: '#625866',
    500: '#281c2e',
    950: '#000000',
  },
}
SCSS
$custom: #281c2e;
$custom-light: #625866;
$custom-dark: #000000;
JSON
{
  "hex": "#281c2e",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 46
  },
  "hsl": {
    "h": 280,
    "s": 24.324,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24947,
    "c": 0.03725,
    "h": 314.1
  },
  "luminance": 0.01479
}

Semantic roles & 50–950 ramp

primary
#281C2E
secondary
#4E6145
accent
#C16785
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050306
muted
#79787A

Preview Lab

Preview with #281C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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