#280937#280937

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

Color values

HEX#280937
RGBrgb(40, 9, 55)
HSLhsl(280, 72%, 13%)
HSVhsv(280, 84%, 22%)
CMYKcmyk(27.3%, 83.6%, 0%, 78.4%)
CIE-LABlab(8.33, 24.92, -22.86)
CIE-LCHlch(8.33, 33.82, 317.47°)
OKLaboklab(22.08% 0.0587 -0.0646)
OKLCHoklch(22.08% 0.087 312.2)
XYZxyz(1.6622, 0.9224, 3.7042)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280937 #183709
analogous
#110937 #280937 #37092F
triadic
#280937 #372809 #093728
tetradic
#280937 #371109 #183709 #092F37
square
#280937 #371109 #183709 #092F37
split-complementary
#280937 #2F3709 #093711
monochromatic
#13041A #13041A #280937 #4E126C #751AA0

Accessibility & contrast

On white

17.73
#280937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280937
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280937#FFFFFF#000000##FFFFFF
##2809371.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#051936
Tritanopia (blue-blind)
#26131F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280937;
/* rgb */ color: rgb(40, 9, 55);
/* oklch */ color: oklch(22.1% 0.087 312.2);
Tailwind
colors: {
  custom: {
    50: '#644b6e',
    500: '#280937',
    950: '#000000',
  },
}
SCSS
$custom: #280937;
$custom-light: #644b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#280937",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 280.435,
    "s": 71.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22076,
    "c": 0.08725,
    "h": 312.2
  },
  "luminance": 0.00922
}

Semantic roles & 50–950 ramp

primary
#280937
secondary
#407527
accent
#EF3974
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280937

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

Preview Lab → · Contrast checker → · Palette generator →

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