#280736#280736

#280736 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.089 H 313.6°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#280736
RGBrgb(40, 7, 54)
HSLhsl(282, 77%, 12%)
HSVhsv(282, 87%, 21%)
CMYKcmyk(25.9%, 87%, 0%, 78.8%)
CIE-LABlab(7.85, 25.77, -22.90)
CIE-LCHlch(7.85, 34.47, 318.38°)
OKLaboklab(21.71% 0.0616 -0.0647)
OKLCHoklch(21.71% 0.089 313.6)
XYZxyz(1.6168, 0.8695, 3.5720)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280736 #153607
analogous
#110736 #280736 #36072D
triadic
#280736 #362807 #073628
tetradic
#280736 #361107 #153607 #072D36
square
#280736 #361107 #153607 #072D36
split-complementary
#280736 #2D3607 #073611
monochromatic
#14041B #14041B #280736 #500E6C #7815A2

Accessibility & contrast

On white

17.89
#280736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#280736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280736
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280736#FFFFFF#000000##FFFFFF
##2807361.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#041835
Tritanopia (blue-blind)
#27111E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #280736;
/* rgb */ color: rgb(40, 7, 54);
/* oklch */ color: oklch(21.7% 0.089 313.6);
Tailwind
colors: {
  custom: {
    50: '#644a6d',
    500: '#280736',
    950: '#000000',
  },
}
SCSS
$custom: #280736;
$custom-light: #644a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#280736",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 54
  },
  "hsl": {
    "h": 282.128,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21712,
    "c": 0.08929,
    "h": 313.6
  },
  "luminance": 0.00869
}

Semantic roles & 50–950 ramp

primary
#280736
secondary
#3C7623
accent
#F4346D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #280736

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

Preview Lab → · Contrast checker → · Palette generator →

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