#280532#280532

#280532 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.088 H 317.6°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#280532
RGBrgb(40, 5, 50)
HSLhsl(287, 82%, 11%)
HSVhsv(287, 90%, 20%)
CMYKcmyk(20%, 90%, 0%, 80.4%)
CIE-LABlab(7.14, 25.83, -21.12)
CIE-LCHlch(7.14, 33.36, 320.74°)
OKLaboklab(21.07% 0.0653 -0.0596)
OKLCHoklch(21.07% 0.088 317.6)
XYZxyz(1.5050, 0.7900, 3.0902)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280532 #0F3205
analogous
#110532 #280532 #320525
triadic
#280532 #322805 #053228
tetradic
#280532 #321105 #0F3205 #052532
square
#280532 #321105 #0F3205 #052532
split-complementary
#280532 #253205 #053211
monochromatic
#16031C #16031C #280532 #550B6A #8110A1

Accessibility & contrast

On white

18.13
#280532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280532
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280532#FFFFFF#000000##FFFFFF
##2805321.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001433
Deuteranopia (green-blind)
#061731
Tritanopia (blue-blind)
#280E1B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #280532;
/* rgb */ color: rgb(40, 5, 50);
/* oklch */ color: oklch(21.1% 0.088 317.6);
Tailwind
colors: {
  custom: {
    50: '#64496a',
    500: '#280532',
    950: '#000000',
  },
}
SCSS
$custom: #280532;
$custom-light: #64496a;
$custom-dark: #000000;
JSON
{
  "hex": "#280532",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 50
  },
  "hsl": {
    "h": 286.667,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21074,
    "c": 0.08838,
    "h": 317.6
  },
  "luminance": 0.0079
}

Semantic roles & 50–950 ramp

primary
#280532
secondary
#32731F
accent
#F8305C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #280532

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

Preview Lab → · Contrast checker → · Palette generator →

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