#281E2C#281E2C

#281E2C is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.3% C 0.030 H 316.2°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#281E2C
RGBrgb(40, 30, 44)
HSLhsl(283, 19%, 15%)
HSVhsv(283, 32%, 17%)
CMYKcmyk(9.1%, 31.8%, 0%, 82.7%)
CIE-LABlab(12.99, 8.15, -7.52)
CIE-LCHlch(12.99, 11.09, 317.29°)
OKLaboklab(25.31% 0.0213 -0.0204)
OKLCHoklch(25.31% 0.03 316.2)
XYZxyz(1.7939, 1.5615, 2.5893)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E2C #222C1E
analogous
#211E2C #281E2C #2C1E29
triadic
#281E2C #2C281E #1E2C28
tetradic
#281E2C #2C211E #222C1E #1E292C
square
#281E2C #2C211E #222C1E #1E292C
split-complementary
#281E2C #292C1E #1E2C21
monochromatic
#110C12 #110C12 #281E2C #493750 #6A5075

Accessibility & contrast

On white

16.00
#281E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281E2C
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E2C#FFFFFF#000000##FFFFFF
##281E2C1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281e2c;
/* rgb */ color: rgb(40, 30, 44);
/* oklch */ color: oklch(25.3% 0.030 316.2);
Tailwind
colors: {
  custom: {
    50: '#625965',
    500: '#281e2c',
    950: '#000000',
  },
}
SCSS
$custom: #281e2c;
$custom-light: #625965;
$custom-dark: #000000;
JSON
{
  "hex": "#281e2c",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 44
  },
  "hsl": {
    "h": 282.857,
    "s": 18.919,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25313,
    "c": 0.02951,
    "h": 316.2
  },
  "luminance": 0.01562
}

Semantic roles & 50–950 ramp

primary
#281E2C
secondary
#4E5E48
accent
#BC6C83
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050305
muted
#79787A

Preview Lab

Preview with #281E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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