#280436#280436

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

Color values

HEX#280436
RGBrgb(40, 4, 54)
HSLhsl(283, 86%, 11%)
HSVhsv(283, 93%, 21%)
CMYKcmyk(25.9%, 92.6%, 0%, 78.8%)
CIE-LABlab(7.27, 27.44, -23.85)
CIE-LCHlch(7.27, 36.35, 319.01°)
OKLaboklab(21.28% 0.0659 -0.0675)
OKLCHoklch(21.28% 0.094 314.3)
XYZxyz(1.5842, 0.8043, 3.5611)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280436 #123604
analogous
#0F0436 #280436 #36042B
triadic
#280436 #362804 #043628
tetradic
#280436 #360F04 #123604 #042B36
square
#280436 #360F04 #123604 #042B36
split-complementary
#280436 #2B3604 #04360F
monochromatic
#15021C #15021C #280436 #52086F #7C0CA8

Accessibility & contrast

On white

18.09
#280436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#280436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280436
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280436#FFFFFF#000000##FFFFFF
##2804361.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001437
Deuteranopia (green-blind)
#011735
Tritanopia (blue-blind)
#270F1D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #280436;
/* rgb */ color: rgb(40, 4, 54);
/* oklch */ color: oklch(21.3% 0.094 314.3);
Tailwind
colors: {
  custom: {
    50: '#64486d',
    500: '#280436',
    950: '#000000',
  },
}
SCSS
$custom: #280436;
$custom-light: #64486d;
$custom-dark: #000000;
JSON
{
  "hex": "#280436",
  "rgb": {
    "r": 40,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 283.2,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21282,
    "c": 0.09438,
    "h": 314.3
  },
  "luminance": 0.00804
}

Semantic roles & 50–950 ramp

primary
#280436
secondary
#37781E
accent
#FC2B66
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #280436

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

Preview Lab → · Contrast checker → · Palette generator →

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