#281128#281128

#281128 is a very dark, muted purple. Relative luminance 0.010; OKLCH L 22.3% C 0.054 H 327.2°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#281128
RGBrgb(40, 17, 40)
HSLhsl(300, 40%, 11%)
HSVhsv(300, 58%, 16%)
CMYKcmyk(0%, 57.5%, 0%, 84.3%)
CIE-LABlab(9.04, 16.34, -10.68)
CIE-LCHlch(9.04, 19.52, 326.83°)
OKLaboklab(22.25% 0.0454 -0.0292)
OKLCHoklch(22.25% 0.054 327.2)
XYZxyz(1.4585, 1.0053, 2.1243)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281128 #112811
analogous
#1C1128 #281128 #28111C
triadic
#281128 #282811 #112828
tetradic
#281128 #281C11 #112811 #111C28
square
#281128 #281C11 #112811 #111C28
split-complementary
#281128 #1C2811 #11281C
monochromatic
#150915 #150915 #281128 #532353 #7E367E

Accessibility & contrast

On white

17.49
#281128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#281128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281128
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281128#FFFFFF#000000##FFFFFF
##2811281.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1829
Deuteranopia (green-blind)
#161B27
Tritanopia (blue-blind)
#29131A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #281128;
/* rgb */ color: rgb(40, 17, 40);
/* oklch */ color: oklch(22.3% 0.054 327.2);
Tailwind
colors: {
  custom: {
    50: '#635062',
    500: '#281128',
    950: '#000000',
  },
}
SCSS
$custom: #281128;
$custom-light: #635062;
$custom-dark: #000000;
JSON
{
  "hex": "#281128",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 40
  },
  "hsl": {
    "h": 300,
    "s": 40.351,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22253,
    "c": 0.05396,
    "h": 327.2
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#281128
secondary
#355F35
accent
#D05858
background
#F5F4F5
surface
#EAE7EA
border
#C6C3C6
text
#050205
muted
#797879

Preview Lab

Preview with #281128

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

Preview Lab → · Contrast checker → · Palette generator →

#281128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva