#281127#281127

#281127 is a very dark, muted purple. Relative luminance 0.010; OKLCH L 22.2% C 0.053 H 328.8°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#281127
RGBrgb(40, 17, 39)
HSLhsl(303, 40%, 11%)
HSVhsv(303, 58%, 16%)
CMYKcmyk(0%, 57.5%, 2.5%, 84.3%)
CIE-LABlab(8.98, 16.10, -10.02)
CIE-LCHlch(8.98, 18.96, 328.11°)
OKLaboklab(22.19% 0.0451 -0.0273)
OKLCHoklch(22.19% 0.053 328.8)
XYZxyz(1.4417, 0.9986, 2.0359)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281127 #112812
analogous
#1D1128 #281127 #28111B
triadic
#281127 #272811 #112728
tetradic
#281127 #281D11 #112812 #111B28
square
#281127 #281D11 #112812 #111B28
split-complementary
#281127 #1B2811 #11281D
monochromatic
#150915 #150915 #281127 #532351 #7E367B

Accessibility & contrast

On white

17.51
#281127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281127
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281127#FFFFFF#000000##FFFFFF
##2811271.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1828
Deuteranopia (green-blind)
#161B26
Tritanopia (blue-blind)
#29131A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #281127;
/* rgb */ color: rgb(40, 17, 39);
/* oklch */ color: oklch(22.2% 0.053 328.8);
Tailwind
colors: {
  custom: {
    50: '#635061',
    500: '#281127',
    950: '#000000',
  },
}
SCSS
$custom: #281127;
$custom-light: #635061;
$custom-dark: #000000;
JSON
{
  "hex": "#281127",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 302.609,
    "s": 40.351,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22193,
    "c": 0.05274,
    "h": 328.8
  },
  "luminance": 0.00998
}

Semantic roles & 50–950 ramp

primary
#281127
secondary
#355F37
accent
#D05D58
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050205
muted
#797879

Preview Lab

Preview with #281127

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

Preview Lab → · Contrast checker → · Palette generator →

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