#280936#280936

#280936 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.086 H 313.1°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#280936
RGBrgb(40, 9, 54)
HSLhsl(281, 71%, 12%)
HSVhsv(281, 83%, 21%)
CMYKcmyk(25.9%, 83.3%, 0%, 78.8%)
CIE-LABlab(8.24, 24.66, -22.27)
CIE-LCHlch(8.24, 33.23, 317.92°)
OKLaboklab(21.99% 0.0588 -0.0628)
OKLCHoklch(21.99% 0.086 313.1)
XYZxyz(1.6385, 0.9129, 3.5792)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280936 #173609
analogous
#110936 #280936 #36092E
triadic
#280936 #362809 #093628
tetradic
#280936 #361109 #173609 #092E36
square
#280936 #361109 #173609 #092E36
split-complementary
#280936 #2E3609 #093611
monochromatic
#13041A #13041A #280936 #4F126A #761A9F

Accessibility & contrast

On white

17.76
#280936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#280936 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280936
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280936#FFFFFF#000000##FFFFFF
##2809361.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#061935
Tritanopia (blue-blind)
#27131E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280936;
/* rgb */ color: rgb(40, 9, 54);
/* oklch */ color: oklch(22.0% 0.086 313.1);
Tailwind
colors: {
  custom: {
    50: '#644b6d',
    500: '#280936',
    950: '#000000',
  },
}
SCSS
$custom: #280936;
$custom-light: #644b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#280936",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 54
  },
  "hsl": {
    "h": 281.333,
    "s": 71.429,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2199,
    "c": 0.08607,
    "h": 313.1
  },
  "luminance": 0.00913
}

Semantic roles & 50–950 ramp

primary
#280936
secondary
#3F7427
accent
#EE3A72
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #280936

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

Preview Lab → · Contrast checker → · Palette generator →

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