#280428#280428

#280428 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.1% C 0.080 H 328.1°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#280428
RGBrgb(40, 4, 40)
HSLhsl(300, 82%, 9%)
HSVhsv(300, 90%, 16%)
CMYKcmyk(0%, 90%, 0%, 84.3%)
CIE-LABlab(6.24, 23.74, -15.04)
CIE-LCHlch(6.24, 28.11, 327.64°)
OKLaboklab(20.11% 0.068 -0.0424)
OKLCHoklch(20.11% 0.08 328.1)
XYZxyz(1.3015, 0.6912, 2.0719)
Luminance0.0069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280428 #042804
analogous
#160428 #280428 #280416
triadic
#280428 #282804 #042828
tetradic
#280428 #281604 #042804 #041628
square
#280428 #281604 #042804 #041628
split-complementary
#280428 #162804 #042816
monochromatic
#1C031C #1C031C #280428 #600A60 #970F97

Accessibility & contrast

On white

18.45
#280428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#280428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280428
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280428#FFFFFF#000000##FFFFFF
##2804281.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011129
Deuteranopia (green-blind)
#0D1627
Tritanopia (blue-blind)
#2A0915
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #280428;
/* rgb */ color: rgb(40, 4, 40);
/* oklch */ color: oklch(20.1% 0.080 328.1);
Tailwind
colors: {
  custom: {
    50: '#644862',
    500: '#280428',
    950: '#000000',
  },
}
SCSS
$custom: #280428;
$custom-light: #644862;
$custom-dark: #000000;
JSON
{
  "hex": "#280428",
  "rgb": {
    "r": 40,
    "g": 4,
    "b": 40
  },
  "hsl": {
    "h": 300,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.2011,
    "c": 0.08016,
    "h": 328.1
  },
  "luminance": 0.00691
}

Semantic roles & 50–950 ramp

primary
#280428
secondary
#1D6B1D
accent
#F83030
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#050005
muted
#7A7779

Preview Lab

Preview with #280428

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

Preview Lab → · Contrast checker → · Palette generator →

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