#280837#280837

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

Color values

HEX#280837
RGBrgb(40, 8, 55)
HSLhsl(281, 75%, 12%)
HSVhsv(281, 85%, 22%)
CMYKcmyk(27.3%, 85.5%, 0%, 78.4%)
CIE-LABlab(8.14, 25.47, -23.17)
CIE-LCHlch(8.14, 34.43, 317.71°)
OKLaboklab(21.94% 0.06 -0.0655)
OKLCHoklch(21.94% 0.089 312.5)
XYZxyz(1.6514, 0.9007, 3.7005)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280837 #173708
analogous
#110837 #280837 #37082F
triadic
#280837 #372808 #083728
tetradic
#280837 #371108 #173708 #082F37
square
#280837 #371108 #173708 #082F37
split-complementary
#280837 #2F3708 #083711
monochromatic
#13041B #13041B #280837 #4F106C #7618A2

Accessibility & contrast

On white

17.79
#280837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280837
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280837#FFFFFF#000000##FFFFFF
##2808371.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#041836
Tritanopia (blue-blind)
#26121F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280837;
/* rgb */ color: rgb(40, 8, 55);
/* oklch */ color: oklch(21.9% 0.089 312.5);
Tailwind
colors: {
  custom: {
    50: '#644b6e',
    500: '#280837',
    950: '#000000',
  },
}
SCSS
$custom: #280837;
$custom-light: #644b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#280837",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 280.851,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21939,
    "c": 0.08882,
    "h": 312.5
  },
  "luminance": 0.00901
}

Semantic roles & 50–950 ramp

primary
#280837
secondary
#3F7625
accent
#F13772
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280837

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

Preview Lab → · Contrast checker → · Palette generator →

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