#280638#280638

#280638 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.093 H 312.2°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#280638
RGBrgb(40, 6, 56)
HSLhsl(281, 81%, 12%)
HSVhsv(281, 89%, 22%)
CMYKcmyk(28.6%, 89.3%, 0%, 78%)
CIE-LABlab(7.83, 26.85, -24.39)
CIE-LCHlch(7.83, 36.27, 317.75°)
OKLaboklab(21.75% 0.0625 -0.0691)
OKLCHoklch(21.75% 0.093 312.2)
XYZxyz(1.6539, 0.8669, 3.8208)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280638 #163806
analogous
#0F0638 #280638 #38062F
triadic
#280638 #382806 #063828
tetradic
#280638 #380F06 #163806 #062F38
square
#280638 #380F06 #163806 #062F38
split-complementary
#280638 #2F3806 #06380F
monochromatic
#14031C #14031C #280638 #4F0C6F #7712A7

Accessibility & contrast

On white

17.90
#280638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280638
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280638#FFFFFF#000000##FFFFFF
##2806381.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001639
Deuteranopia (green-blind)
#011837
Tritanopia (blue-blind)
#26121F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #280638;
/* rgb */ color: rgb(40, 6, 56);
/* oklch */ color: oklch(21.8% 0.093 312.2);
Tailwind
colors: {
  custom: {
    50: '#654a6f',
    500: '#280638',
    950: '#000000',
  },
}
SCSS
$custom: #280638;
$custom-light: #654a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#280638",
  "rgb": {
    "r": 40,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 280.8,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21751,
    "c": 0.09316,
    "h": 312.2
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#280638
secondary
#3D7821
accent
#F73170
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280638

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

Preview Lab → · Contrast checker → · Palette generator →

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