#280524#280524

#280524 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.074 H 332.9°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#280524
RGBrgb(40, 5, 36)
HSLhsl(307, 78%, 9%)
HSVhsv(307, 88%, 16%)
CMYKcmyk(0%, 87.5%, 10%, 84.3%)
CIE-LABlab(6.21, 22.23, -12.05)
CIE-LCHlch(6.21, 25.29, 331.55°)
OKLaboklab(19.99% 0.066 -0.0338)
OKLCHoklch(19.99% 0.074 332.9)
XYZxyz(1.2478, 0.6871, 1.7356)
Luminance0.0069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280524 #052809
analogous
#1B0528 #280524 #280513
triadic
#280524 #242805 #052428
tetradic
#280524 #281B05 #052809 #051328
square
#280524 #281B05 #052809 #051328
split-complementary
#280524 #132805 #05281B
monochromatic
#1B0318 #1B0318 #280524 #5E0C55 #951386

Accessibility & contrast

On white

18.46
#280524 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280524
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280524#FFFFFF#000000##FFFFFF
##2805241.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041025
Deuteranopia (green-blind)
#101623
Tritanopia (blue-blind)
#2A0813
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #280524;
/* rgb */ color: rgb(40, 5, 36);
/* oklch */ color: oklch(20.0% 0.074 332.9);
Tailwind
colors: {
  custom: {
    50: '#63485e',
    500: '#280524',
    950: '#000000',
  },
}
SCSS
$custom: #280524;
$custom-light: #63485e;
$custom-dark: #000000;
JSON
{
  "hex": "#280524",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 36
  },
  "hsl": {
    "h": 306.857,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19989,
    "c": 0.07413,
    "h": 332.9
  },
  "luminance": 0.00687
}

Semantic roles & 50–950 ramp

primary
#280524
secondary
#1F6A28
accent
#F44A34
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050104
muted
#7A7779

Preview Lab

Preview with #280524

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

Preview Lab → · Contrast checker → · Palette generator →

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