#280738#280738

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

Color values

HEX#280738
RGBrgb(40, 7, 56)
HSLhsl(280, 78%, 12%)
HSVhsv(280, 88%, 22%)
CMYKcmyk(28.6%, 87.5%, 0%, 78%)
CIE-LABlab(8.03, 26.29, -24.07)
CIE-LCHlch(8.03, 35.64, 317.51°)
OKLaboklab(21.89% 0.0612 -0.0681)
OKLCHoklch(21.89% 0.092 311.9)
XYZxyz(1.6647, 0.8886, 3.8244)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280738 #173807
analogous
#0F0738 #280738 #380730
triadic
#280738 #382807 #073828
tetradic
#280738 #380F07 #173807 #073038
square
#280738 #380F07 #173807 #073038
split-complementary
#280738 #303807 #07380F
monochromatic
#13031B #13031B #280738 #4F0E6E #7615A5

Accessibility & contrast

On white

17.83
#280738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#280738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280738
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280738#FFFFFF#000000##FFFFFF
##2807381.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #280738;
/* rgb */ color: rgb(40, 7, 56);
/* oklch */ color: oklch(21.9% 0.092 311.9);
Tailwind
colors: {
  custom: {
    50: '#644a6f',
    500: '#280738',
    950: '#000000',
  },
}
SCSS
$custom: #280738;
$custom-light: #644a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#280738",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 280.408,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2189,
    "c": 0.09155,
    "h": 311.9
  },
  "luminance": 0.00889
}

Semantic roles & 50–950 ramp

primary
#280738
secondary
#3F7823
accent
#F43472
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280738

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

Preview Lab → · Contrast checker → · Palette generator →

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