#280726#280726

#280726 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.5% C 0.072 H 330.3°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#280726
RGBrgb(40, 7, 38)
HSLhsl(304, 70%, 9%)
HSVhsv(304, 83%, 16%)
CMYKcmyk(0%, 82.5%, 5%, 84.3%)
CIE-LABlab(6.71, 21.70, -12.79)
CIE-LCHlch(6.71, 25.19, 329.49°)
OKLaboklab(20.45% 0.0625 -0.0356)
OKLCHoklch(20.45% 0.072 330.3)
XYZxyz(1.3009, 0.7431, 1.9083)
Luminance0.0074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280726 #072809
analogous
#1A0728 #280726 #280716
triadic
#280726 #262807 #072628
tetradic
#280726 #281A07 #072809 #071628
square
#280726 #281A07 #072809 #071628
split-complementary
#280726 #162807 #07281A
monochromatic
#1A0519 #1A0519 #280726 #5C1057 #901989

Accessibility & contrast

On white

18.28
#280726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280726
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280726#FFFFFF#000000##FFFFFF
##2807261.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051227
Deuteranopia (green-blind)
#101625
Tritanopia (blue-blind)
#2A0A15
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #280726;
/* rgb */ color: rgb(40, 7, 38);
/* oklch */ color: oklch(20.5% 0.072 330.3);
Tailwind
colors: {
  custom: {
    50: '#634a60',
    500: '#280726',
    950: '#000000',
  },
}
SCSS
$custom: #280726;
$custom-light: #634a60;
$custom-dark: #000000;
JSON
{
  "hex": "#280726",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 38
  },
  "hsl": {
    "h": 303.636,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20453,
    "c": 0.07189,
    "h": 330.3
  },
  "luminance": 0.00743
}

Semantic roles & 50–950 ramp

primary
#280726
secondary
#236827
accent
#ED463B
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050105
muted
#7A7779

Preview Lab

Preview with #280726

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

Preview Lab → · Contrast checker → · Palette generator →

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