#280737#280737

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

Color values

HEX#280737
RGBrgb(40, 7, 55)
HSLhsl(281, 77%, 12%)
HSVhsv(281, 87%, 22%)
CMYKcmyk(27.3%, 87.3%, 0%, 78.4%)
CIE-LABlab(7.94, 26.03, -23.49)
CIE-LCHlch(7.94, 35.06, 317.94°)
OKLaboklab(21.8% 0.0614 -0.0664)
OKLCHoklch(21.8% 0.09 312.7)
XYZxyz(1.6405, 0.8790, 3.6969)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280737 #163707
analogous
#100737 #280737 #37072E
triadic
#280737 #372807 #073728
tetradic
#280737 #371007 #163707 #072E37
square
#280737 #371007 #163707 #072E37
split-complementary
#280737 #2E3707 #073710
monochromatic
#14031B #14031B #280737 #4F0E6D #7715A4

Accessibility & contrast

On white

17.86
#280737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280737
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280737#FFFFFF#000000##FFFFFF
##2807371.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#031836
Tritanopia (blue-blind)
#26121E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #280737;
/* rgb */ color: rgb(40, 7, 55);
/* oklch */ color: oklch(21.8% 0.090 312.7);
Tailwind
colors: {
  custom: {
    50: '#644a6e',
    500: '#280737',
    950: '#000000',
  },
}
SCSS
$custom: #280737;
$custom-light: #644a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#280737",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 281.25,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21801,
    "c": 0.09042,
    "h": 312.7
  },
  "luminance": 0.00879
}

Semantic roles & 50–950 ramp

primary
#280737
secondary
#3D7723
accent
#F43470
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280737

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

Preview Lab → · Contrast checker → · Palette generator →

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