#280528#280528

#280528 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.3% C 0.078 H 328.0°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#280528
RGBrgb(40, 5, 40)
HSLhsl(300, 78%, 9%)
HSVhsv(300, 88%, 16%)
CMYKcmyk(0%, 87.5%, 0%, 84.3%)
CIE-LABlab(6.44, 23.22, -14.74)
CIE-LCHlch(6.44, 27.50, 327.60°)
OKLaboklab(20.27% 0.0662 -0.0414)
OKLCHoklch(20.27% 0.078 328)
XYZxyz(1.3123, 0.7130, 2.0756)
Luminance0.0071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280528 #052805
analogous
#170528 #280528 #280517
triadic
#280528 #282805 #052828
tetradic
#280528 #281705 #052805 #051728
square
#280528 #281705 #052805 #051728
split-complementary
#280528 #172805 #052817
monochromatic
#1B031B #1B031B #280528 #5E0C5E #951395

Accessibility & contrast

On white

18.38
#280528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#280528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280528
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280528#FFFFFF#000000##FFFFFF
##2805281.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021129
Deuteranopia (green-blind)
#0E1627
Tritanopia (blue-blind)
#2A0915
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #280528;
/* rgb */ color: rgb(40, 5, 40);
/* oklch */ color: oklch(20.3% 0.078 328.0);
Tailwind
colors: {
  custom: {
    50: '#634862',
    500: '#280528',
    950: '#000000',
  },
}
SCSS
$custom: #280528;
$custom-light: #634862;
$custom-dark: #000000;
JSON
{
  "hex": "#280528",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 40
  },
  "hsl": {
    "h": 300,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20273,
    "c": 0.07803,
    "h": 328
  },
  "luminance": 0.00713
}

Semantic roles & 50–950 ramp

primary
#280528
secondary
#1F6A1F
accent
#F43434
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050105
muted
#7A7779

Preview Lab

Preview with #280528

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

Preview Lab → · Contrast checker → · Palette generator →

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