#280732#280732

#280732 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.085 H 317.2°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#280732
RGBrgb(40, 7, 50)
HSLhsl(286, 75%, 11%)
HSVhsv(286, 86%, 20%)
CMYKcmyk(20%, 86%, 0%, 80.4%)
CIE-LABlab(7.53, 24.74, -20.49)
CIE-LCHlch(7.53, 32.12, 320.37°)
OKLaboklab(21.37% 0.0622 -0.0577)
OKLCHoklch(21.37% 0.085 317.2)
XYZxyz(1.5267, 0.8334, 3.0974)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280732 #113207
analogous
#120732 #280732 #320726
triadic
#280732 #322807 #073228
tetradic
#280732 #321207 #113207 #072632
square
#280732 #321207 #113207 #072632
split-complementary
#280732 #263207 #073212
monochromatic
#15041B #15041B #280732 #530F68 #7E169D

Accessibility & contrast

On white

18.00
#280732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#280732 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280732
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280732#FFFFFF#000000##FFFFFF
##2807321.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#081831
Tritanopia (blue-blind)
#28101B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #280732;
/* rgb */ color: rgb(40, 7, 50);
/* oklch */ color: oklch(21.4% 0.085 317.2);
Tailwind
colors: {
  custom: {
    50: '#644a6a',
    500: '#280732',
    950: '#000000',
  },
}
SCSS
$custom: #280732;
$custom-light: #644a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#280732",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 50
  },
  "hsl": {
    "h": 286.047,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21369,
    "c": 0.08481,
    "h": 317.2
  },
  "luminance": 0.00833
}

Semantic roles & 50–950 ramp

primary
#280732
secondary
#357223
accent
#F23662
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280732

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

Preview Lab → · Contrast checker → · Palette generator →

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