#280526#280526

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

Color values

HEX#280526
RGBrgb(40, 5, 38)
HSLhsl(303, 78%, 9%)
HSVhsv(303, 88%, 16%)
CMYKcmyk(0%, 87.5%, 5%, 84.3%)
CIE-LABlab(6.32, 22.72, -13.40)
CIE-LCHlch(6.32, 26.38, 329.47°)
OKLaboklab(20.13% 0.0661 -0.0376)
OKLCHoklch(20.13% 0.076 330.4)
XYZxyz(1.2792, 0.6997, 1.9010)
Luminance0.0070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280526 #052807
analogous
#190528 #280526 #280515
triadic
#280526 #262805 #052628
tetradic
#280526 #281905 #052807 #051528
square
#280526 #281905 #052807 #051528
split-complementary
#280526 #152805 #052819
monochromatic
#1B031A #1B031A #280526 #5E0C5A #95138D

Accessibility & contrast

On white

18.42
#280526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280526
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280526#FFFFFF#000000##FFFFFF
##2805261.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031127
Deuteranopia (green-blind)
#0F1625
Tritanopia (blue-blind)
#2A0914
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #280526;
/* rgb */ color: rgb(40, 5, 38);
/* oklch */ color: oklch(20.1% 0.076 330.4);
Tailwind
colors: {
  custom: {
    50: '#634860',
    500: '#280526',
    950: '#000000',
  },
}
SCSS
$custom: #280526;
$custom-light: #634860;
$custom-dark: #000000;
JSON
{
  "hex": "#280526",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 38
  },
  "hsl": {
    "h": 303.429,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20128,
    "c": 0.07606,
    "h": 330.4
  },
  "luminance": 0.007
}

Semantic roles & 50–950 ramp

primary
#280526
secondary
#1F6A23
accent
#F43F34
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050105
muted
#7A7779

Preview Lab

Preview with #280526

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

Preview Lab → · Contrast checker → · Palette generator →

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