#280539#280539

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

Color values

HEX#280539
RGBrgb(40, 5, 57)
HSLhsl(280, 84%, 12%)
HSVhsv(280, 91%, 22%)
CMYKcmyk(29.8%, 91.2%, 0%, 77.6%)
CIE-LABlab(7.72, 27.67, -25.29)
CIE-LCHlch(7.72, 37.48, 317.57°)
OKLaboklab(21.7% 0.0637 -0.0717)
OKLCHoklch(21.7% 0.096 311.6)
XYZxyz(1.6677, 0.8551, 3.9473)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280539 #163905
analogous
#0E0539 #280539 #390530
triadic
#280539 #392805 #053928
tetradic
#280539 #390E05 #163905 #053039
square
#280539 #390E05 #163905 #053039
split-complementary
#280539 #303905 #05390E
monochromatic
#14021C #14021C #280539 #4F0A71 #770FAA

Accessibility & contrast

On white

17.93
#280539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280539
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280539#FFFFFF#000000##FFFFFF
##2805391.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153A
Deuteranopia (green-blind)
#001838
Tritanopia (blue-blind)
#26111F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #280539;
/* rgb */ color: rgb(40, 5, 57);
/* oklch */ color: oklch(21.7% 0.096 311.6);
Tailwind
colors: {
  custom: {
    50: '#654970',
    500: '#280539',
    950: '#000000',
  },
}
SCSS
$custom: #280539;
$custom-light: #654970;
$custom-dark: #000000;
JSON
{
  "hex": "#280539",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 280.385,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21704,
    "c": 0.09589,
    "h": 311.6
  },
  "luminance": 0.00855
}

Semantic roles & 50–950 ramp

primary
#280539
secondary
#3D7A20
accent
#FA2E70
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280539

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

Preview Lab → · Contrast checker → · Palette generator →

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