#280834#280834

#280834 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.085 H 315.1°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#280834
RGBrgb(40, 8, 52)
HSLhsl(284, 73%, 12%)
HSVhsv(284, 85%, 20%)
CMYKcmyk(23.1%, 84.6%, 0%, 79.6%)
CIE-LABlab(7.88, 24.70, -21.39)
CIE-LCHlch(7.88, 32.67, 319.12°)
OKLaboklab(21.68% 0.0605 -0.0603)
OKLCHoklch(21.68% 0.085 315.1)
XYZxyz(1.5816, 0.8728, 3.3333)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280834 #143408
analogous
#120834 #280834 #34082A
triadic
#280834 #342808 #083428
tetradic
#280834 #341208 #143408 #082A34
square
#280834 #341208 #143408 #082A34
split-complementary
#280834 #2A3408 #083412
monochromatic
#14041B #14041B #280834 #511069 #7A189E

Accessibility & contrast

On white

17.88
#280834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#280834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280834
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280834#FFFFFF#000000##FFFFFF
##2808341.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#071833
Tritanopia (blue-blind)
#27111D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #280834;
/* rgb */ color: rgb(40, 8, 52);
/* oklch */ color: oklch(21.7% 0.085 315.1);
Tailwind
colors: {
  custom: {
    50: '#644b6c',
    500: '#280834',
    950: '#000000',
  },
}
SCSS
$custom: #280834;
$custom-light: #644b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#280834",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 52
  },
  "hsl": {
    "h": 283.636,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2168,
    "c": 0.08537,
    "h": 315.1
  },
  "luminance": 0.00873
}

Semantic roles & 50–950 ramp

primary
#280834
secondary
#3A7325
accent
#F0386A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #280834

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

Preview Lab → · Contrast checker → · Palette generator →

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