#280836#280836

#280836 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.088 H 313.3°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#280836
RGBrgb(40, 8, 54)
HSLhsl(282, 74%, 12%)
HSVhsv(282, 85%, 21%)
CMYKcmyk(25.9%, 85.2%, 0%, 78.8%)
CIE-LABlab(8.05, 25.21, -22.58)
CIE-LCHlch(8.05, 33.85, 318.15°)
OKLaboklab(21.85% 0.0602 -0.0638)
OKLCHoklch(21.85% 0.088 313.3)
XYZxyz(1.6276, 0.8912, 3.5756)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280836 #163608
analogous
#110836 #280836 #36082D
triadic
#280836 #362808 #083628
tetradic
#280836 #361108 #163608 #082D36
square
#280836 #361108 #163608 #082D36
split-complementary
#280836 #2D3608 #083611
monochromatic
#14041B #14041B #280836 #4F106B #7718A1

Accessibility & contrast

On white

17.82
#280836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280836
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280836#FFFFFF#000000##FFFFFF
##2808361.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #280836;
/* rgb */ color: rgb(40, 8, 54);
/* oklch */ color: oklch(21.9% 0.088 313.3);
Tailwind
colors: {
  custom: {
    50: '#644b6d',
    500: '#280836',
    950: '#000000',
  },
}
SCSS
$custom: #280836;
$custom-light: #644b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#280836",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 54
  },
  "hsl": {
    "h": 281.739,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21852,
    "c": 0.08767,
    "h": 313.3
  },
  "luminance": 0.00891
}

Semantic roles & 50–950 ramp

primary
#280836
secondary
#3D7525
accent
#F13770
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #280836

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

Preview Lab → · Contrast checker → · Palette generator →

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