#281E27#281E27

#281E27 is a dark, muted purple. Relative luminance 0.015; OKLCH L 25.1% C 0.022 H 329.5°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#281E27
RGBrgb(40, 30, 39)
HSLhsl(306, 14%, 14%)
HSVhsv(306, 25%, 16%)
CMYKcmyk(0%, 25%, 2.5%, 84.3%)
CIE-LABlab(12.77, 6.88, -4.23)
CIE-LCHlch(12.77, 8.07, 328.42°)
OKLaboklab(25.07% 0.0192 -0.0113)
OKLCHoklch(25.07% 0.022 329.5)
XYZxyz(1.7055, 1.5262, 2.1238)
Luminance0.0153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E27 #1E281F
analogous
#241E28 #281E27 #281E22
triadic
#281E27 #27281E #1E2728
tetradic
#281E27 #28241E #1E281F #1E2228
square
#281E27 #28241E #1E281F #1E2228
split-complementary
#281E27 #22281E #1E2824
monochromatic
#110D11 #110D11 #281E27 #4B3849 #6E526B

Accessibility & contrast

On white

16.09
#281E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281E27
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E27#FFFFFF#000000##FFFFFF
##281E271.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2027
Deuteranopia (green-blind)
#202227
Tritanopia (blue-blind)
#291F21
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #281e27;
/* rgb */ color: rgb(40, 30, 39);
/* oklch */ color: oklch(25.1% 0.022 329.5);
Tailwind
colors: {
  custom: {
    50: '#625961',
    500: '#281e27',
    950: '#000000',
  },
}
SCSS
$custom: #281e27;
$custom-light: #625961;
$custom-dark: #000000;
JSON
{
  "hex": "#281e27",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 306,
    "s": 14.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25071,
    "c": 0.02229,
    "h": 329.5
  },
  "luminance": 0.01526
}

Semantic roles & 50–950 ramp

primary
#281E27
secondary
#49594A
accent
#B77871
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050305
muted
#797879

Preview Lab

Preview with #281E27

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

Preview Lab → · Contrast checker → · Palette generator →

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