#280534#280534

#280534 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.091 H 315.8°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#280534
RGBrgb(40, 5, 52)
HSLhsl(285, 82%, 11%)
HSVhsv(285, 90%, 20%)
CMYKcmyk(23.1%, 90.4%, 0%, 79.6%)
CIE-LABlab(7.30, 26.36, -22.33)
CIE-LCHlch(7.30, 34.55, 319.73°)
OKLaboklab(21.25% 0.0649 -0.0631)
OKLCHoklch(21.25% 0.091 315.8)
XYZxyz(1.5491, 0.8077, 3.3224)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280534 #113405
analogous
#100534 #280534 #340528
triadic
#280534 #342805 #053428
tetradic
#280534 #341005 #113405 #052834
square
#280534 #341005 #113405 #052834
split-complementary
#280534 #283405 #053410
monochromatic
#15031C #15031C #280534 #530A6C #7E10A4

Accessibility & contrast

On white

18.08
#280534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280534
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280534#FFFFFF#000000##FFFFFF
##2805341.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001435
Deuteranopia (green-blind)
#041733
Tritanopia (blue-blind)
#270F1C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #280534;
/* rgb */ color: rgb(40, 5, 52);
/* oklch */ color: oklch(21.2% 0.091 315.8);
Tailwind
colors: {
  custom: {
    50: '#64496c',
    500: '#280534',
    950: '#000000',
  },
}
SCSS
$custom: #280534;
$custom-light: #64496c;
$custom-dark: #000000;
JSON
{
  "hex": "#280534",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 52
  },
  "hsl": {
    "h": 284.681,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21249,
    "c": 0.09051,
    "h": 315.8
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#280534
secondary
#35751F
accent
#F92F63
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #280534

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

Preview Lab → · Contrast checker → · Palette generator →

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