#280538#280538

#280538 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.6% C 0.095 H 312.4°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#280538
RGBrgb(40, 5, 56)
HSLhsl(281, 84%, 12%)
HSVhsv(281, 91%, 22%)
CMYKcmyk(28.6%, 91.1%, 0%, 78%)
CIE-LABlab(7.63, 27.41, -24.71)
CIE-LCHlch(7.63, 36.90, 317.97°)
OKLaboklab(21.61% 0.0639 -0.07)
OKLCHoklch(21.61% 0.095 312.4)
XYZxyz(1.6430, 0.8452, 3.8172)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280538 #153805
analogous
#0E0538 #280538 #38052F
triadic
#280538 #382805 #053828
tetradic
#280538 #380E05 #153805 #052F38
square
#280538 #380E05 #153805 #052F38
split-complementary
#280538 #2F3805 #05380E
monochromatic
#14031C #14031C #280538 #500A70 #780FA8

Accessibility & contrast

On white

17.96
#280538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280538
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280538#FFFFFF#000000##FFFFFF
##2805381.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001539
Deuteranopia (green-blind)
#001737
Tritanopia (blue-blind)
#26111E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #280538;
/* rgb */ color: rgb(40, 5, 56);
/* oklch */ color: oklch(21.6% 0.095 312.4);
Tailwind
colors: {
  custom: {
    50: '#65496f',
    500: '#280538',
    950: '#000000',
  },
}
SCSS
$custom: #280538;
$custom-light: #65496f;
$custom-dark: #000000;
JSON
{
  "hex": "#280538",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 281.176,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21611,
    "c": 0.09481,
    "h": 312.4
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#280538
secondary
#3C7920
accent
#FA2E6E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280538

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

Preview Lab → · Contrast checker → · Palette generator →

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