#280427#280427

#280427 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.079 H 329.2°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#280427
RGBrgb(40, 4, 39)
HSLhsl(302, 82%, 9%)
HSVhsv(302, 90%, 16%)
CMYKcmyk(0%, 90%, 2.5%, 84.3%)
CIE-LABlab(6.18, 23.49, -14.38)
CIE-LCHlch(6.18, 27.54, 328.53°)
OKLaboklab(20.04% 0.068 -0.0405)
OKLCHoklch(20.04% 0.079 329.2)
XYZxyz(1.2847, 0.6845, 1.9835)
Luminance0.0068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280427 #042805
analogous
#170428 #280427 #280415
triadic
#280427 #272804 #042728
tetradic
#280427 #281704 #042805 #041528
square
#280427 #281704 #042805 #041528
split-complementary
#280427 #152804 #042817
monochromatic
#1C031B #1C031B #280427 #600A5D #970F93

Accessibility & contrast

On white

18.47
#280427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280427
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280427#FFFFFF#000000##FFFFFF
##2804271.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011128
Deuteranopia (green-blind)
#0E1526
Tritanopia (blue-blind)
#2A0814
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #280427;
/* rgb */ color: rgb(40, 4, 39);
/* oklch */ color: oklch(20.0% 0.079 329.2);
Tailwind
colors: {
  custom: {
    50: '#634861',
    500: '#280427',
    950: '#000000',
  },
}
SCSS
$custom: #280427;
$custom-light: #634861;
$custom-dark: #000000;
JSON
{
  "hex": "#280427",
  "rgb": {
    "r": 40,
    "g": 4,
    "b": 39
  },
  "hsl": {
    "h": 301.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.20035,
    "c": 0.07919,
    "h": 329.2
  },
  "luminance": 0.00684
}

Semantic roles & 50–950 ramp

primary
#280427
secondary
#1D6B1F
accent
#F83530
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050005
muted
#7A7779

Preview Lab

Preview with #280427

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

Preview Lab → · Contrast checker → · Palette generator →

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