#280637#280637

#280637 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.092 H 313.0°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#280637
RGBrgb(40, 6, 55)
HSLhsl(282, 80%, 12%)
HSVhsv(282, 89%, 22%)
CMYKcmyk(27.3%, 89.1%, 0%, 78.4%)
CIE-LABlab(7.74, 26.59, -23.80)
CIE-LCHlch(7.74, 35.69, 318.16°)
OKLaboklab(21.66% 0.0628 -0.0673)
OKLCHoklch(21.66% 0.092 313)
XYZxyz(1.6297, 0.8573, 3.6933)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280637 #153706
analogous
#100637 #280637 #37062E
triadic
#280637 #372806 #063728
tetradic
#280637 #371006 #153706 #062E37
square
#280637 #371006 #153706 #062E37
split-complementary
#280637 #2E3706 #063710
monochromatic
#14031C #14031C #280637 #500C6E #7812A5

Accessibility & contrast

On white

17.93
#280637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280637
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280637#FFFFFF#000000##FFFFFF
##2806371.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001538
Deuteranopia (green-blind)
#021836
Tritanopia (blue-blind)
#26111E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #280637;
/* rgb */ color: rgb(40, 6, 55);
/* oklch */ color: oklch(21.7% 0.092 313.0);
Tailwind
colors: {
  custom: {
    50: '#644a6e',
    500: '#280637',
    950: '#000000',
  },
}
SCSS
$custom: #280637;
$custom-light: #644a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#280637",
  "rgb": {
    "r": 40,
    "g": 6,
    "b": 55
  },
  "hsl": {
    "h": 281.633,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21661,
    "c": 0.09206,
    "h": 313
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#280637
secondary
#3C7721
accent
#F7316E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280637

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

Preview Lab → · Contrast checker → · Palette generator →

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