#280628#280628

#280628 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.4% C 0.076 H 327.9°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#280628
RGBrgb(40, 6, 40)
HSLhsl(300, 74%, 9%)
HSVhsv(300, 85%, 16%)
CMYKcmyk(0%, 85%, 0%, 84.3%)
CIE-LABlab(6.64, 22.71, -14.43)
CIE-LCHlch(6.64, 26.91, 327.57°)
OKLaboklab(20.43% 0.0644 -0.0403)
OKLCHoklch(20.43% 0.076 327.9)
XYZxyz(1.3232, 0.7347, 2.0792)
Luminance0.0073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280628 #062806
analogous
#170628 #280628 #280617
triadic
#280628 #282806 #062828
tetradic
#280628 #281706 #062806 #061728
square
#280628 #281706 #062806 #061728
split-complementary
#280628 #172806 #062817
monochromatic
#1B041B #1B041B #280628 #5D0E5D #921692

Accessibility & contrast

On white

18.31
#280628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#280628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280628
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280628#FFFFFF#000000##FFFFFF
##2806281.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031229
Deuteranopia (green-blind)
#0E1627
Tritanopia (blue-blind)
#2A0A16
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #280628;
/* rgb */ color: rgb(40, 6, 40);
/* oklch */ color: oklch(20.4% 0.076 327.9);
Tailwind
colors: {
  custom: {
    50: '#634962',
    500: '#280628',
    950: '#000000',
  },
}
SCSS
$custom: #280628;
$custom-light: #634962;
$custom-dark: #000000;
JSON
{
  "hex": "#280628",
  "rgb": {
    "r": 40,
    "g": 6,
    "b": 40
  },
  "hsl": {
    "h": 300,
    "s": 73.913,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20434,
    "c": 0.07597,
    "h": 327.9
  },
  "luminance": 0.00735
}

Semantic roles & 50–950 ramp

primary
#280628
secondary
#216921
accent
#F13737
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050105
muted
#7A7779

Preview Lab

Preview with #280628

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

Preview Lab → · Contrast checker → · Palette generator →

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