#280531#280531

#280531 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.0% C 0.087 H 318.5°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#280531
RGBrgb(40, 5, 49)
HSLhsl(288, 81%, 11%)
HSVhsv(288, 90%, 19%)
CMYKcmyk(18.4%, 89.8%, 0%, 80.8%)
CIE-LABlab(7.06, 25.56, -20.50)
CIE-LCHlch(7.06, 32.77, 321.27°)
OKLaboklab(20.99% 0.0654 -0.0578)
OKLCHoklch(20.99% 0.087 318.5)
XYZxyz(1.4836, 0.7815, 2.9778)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280531 #0E3105
analogous
#120531 #280531 #310524
triadic
#280531 #312805 #053128
tetradic
#280531 #311205 #0E3105 #052431
square
#280531 #311205 #0E3105 #052431
split-complementary
#280531 #243105 #053112
monochromatic
#17031C #17031C #280531 #550B69 #8310A0

Accessibility & contrast

On white

18.16
#280531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#280531 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280531
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280531#FFFFFF#000000##FFFFFF
##2805311.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001332
Deuteranopia (green-blind)
#071730
Tritanopia (blue-blind)
#280E1A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #280531;
/* rgb */ color: rgb(40, 5, 49);
/* oklch */ color: oklch(21.0% 0.087 318.5);
Tailwind
colors: {
  custom: {
    50: '#644969',
    500: '#280531',
    950: '#000000',
  },
}
SCSS
$custom: #280531;
$custom-light: #644969;
$custom-dark: #000000;
JSON
{
  "hex": "#280531",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 49
  },
  "hsl": {
    "h": 287.727,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20989,
    "c": 0.08732,
    "h": 318.5
  },
  "luminance": 0.00781
}

Semantic roles & 50–950 ramp

primary
#280531
secondary
#30721F
accent
#F83059
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #280531

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

Preview Lab → · Contrast checker → · Palette generator →

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