#281332#281332

#281332 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.063 H 313.8°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#281332
RGBrgb(40, 19, 50)
HSLhsl(281, 45%, 14%)
HSVhsv(281, 62%, 20%)
CMYKcmyk(20%, 62%, 0%, 80.4%)
CIE-LABlab(10.16, 17.57, -16.29)
CIE-LCHlch(10.16, 23.96, 317.17°)
OKLaboklab(23.29% 0.0436 -0.0454)
OKLCHoklch(23.29% 0.063 313.8)
XYZxyz(1.6836, 1.1472, 3.1497)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281332 #1D3213
analogous
#181332 #281332 #32132C
triadic
#281332 #322813 #133228
tetradic
#281332 #321813 #1D3213 #132C32
square
#281332 #321813 #1D3213 #132C32
split-complementary
#281332 #2C3213 #133218
monochromatic
#120816 #120816 #281332 #4B245E #6F358B

Accessibility & contrast

On white

17.08
#281332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#281332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281332
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281332#FFFFFF#000000##FFFFFF
##2813321.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1B33
Deuteranopia (green-blind)
#121C31
Tritanopia (blue-blind)
#271820
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #281332;
/* rgb */ color: rgb(40, 19, 50);
/* oklch */ color: oklch(23.3% 0.063 313.8);
Tailwind
colors: {
  custom: {
    50: '#63516a',
    500: '#281332',
    950: '#000000',
  },
}
SCSS
$custom: #281332;
$custom-light: #63516a;
$custom-dark: #000000;
JSON
{
  "hex": "#281332",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 50
  },
  "hsl": {
    "h": 280.645,
    "s": 44.928,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23287,
    "c": 0.06294,
    "h": 313.8
  },
  "luminance": 0.01147
}

Semantic roles & 50–950 ramp

primary
#281332
secondary
#476A37
accent
#D5537D
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #281332

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

Preview Lab → · Contrast checker → · Palette generator →

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