#280537#280537

#280537 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.094 H 313.2°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#280537
RGBrgb(40, 5, 55)
HSLhsl(282, 83%, 12%)
HSVhsv(282, 91%, 22%)
CMYKcmyk(27.3%, 90.9%, 0%, 78.4%)
CIE-LABlab(7.55, 27.15, -24.12)
CIE-LCHlch(7.55, 36.32, 318.38°)
OKLaboklab(21.52% 0.0642 -0.0683)
OKLCHoklch(21.52% 0.094 313.2)
XYZxyz(1.6188, 0.8355, 3.6897)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280537 #143705
analogous
#0F0537 #280537 #37052D
triadic
#280537 #372805 #053728
tetradic
#280537 #370F05 #143705 #052D37
square
#280537 #370F05 #143705 #052D37
split-complementary
#280537 #2D3705 #05370F
monochromatic
#14031C #14031C #280537 #510A6F #7A0FA7

Accessibility & contrast

On white

17.99
#280537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280537
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280537#FFFFFF#000000##FFFFFF
##2805371.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #280537;
/* rgb */ color: rgb(40, 5, 55);
/* oklch */ color: oklch(21.5% 0.094 313.2);
Tailwind
colors: {
  custom: {
    50: '#65496e',
    500: '#280537',
    950: '#000000',
  },
}
SCSS
$custom: #280537;
$custom-light: #65496e;
$custom-dark: #000000;
JSON
{
  "hex": "#280537",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 282,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21519,
    "c": 0.09373,
    "h": 313.2
  },
  "luminance": 0.00835
}

Semantic roles & 50–950 ramp

primary
#280537
secondary
#3A7820
accent
#FA2E6B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280537

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

Preview Lab → · Contrast checker → · Palette generator →

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