#280734#280734

#280734 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.5% C 0.087 H 315.3°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#280734
RGBrgb(40, 7, 52)
HSLhsl(284, 76%, 12%)
HSVhsv(284, 87%, 20%)
CMYKcmyk(23.1%, 86.5%, 0%, 79.6%)
CIE-LABlab(7.69, 25.26, -21.70)
CIE-LCHlch(7.69, 33.30, 319.33°)
OKLaboklab(21.54% 0.0619 -0.0612)
OKLCHoklch(21.54% 0.087 315.3)
XYZxyz(1.5708, 0.8511, 3.3297)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280734 #133407
analogous
#120734 #280734 #34072A
triadic
#280734 #342807 #073428
tetradic
#280734 #341207 #133407 #072A34
square
#280734 #341207 #133407 #072A34
split-complementary
#280734 #2A3407 #073412
monochromatic
#15041B #15041B #280734 #510E6A #7B16A0

Accessibility & contrast

On white

17.95
#280734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280734
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280734#FFFFFF#000000##FFFFFF
##2807341.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #280734;
/* rgb */ color: rgb(40, 7, 52);
/* oklch */ color: oklch(21.5% 0.087 315.3);
Tailwind
colors: {
  custom: {
    50: '#644a6c',
    500: '#280734',
    950: '#000000',
  },
}
SCSS
$custom: #280734;
$custom-light: #644a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#280734",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 52
  },
  "hsl": {
    "h": 284,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21539,
    "c": 0.08704,
    "h": 315.3
  },
  "luminance": 0.00851
}

Semantic roles & 50–950 ramp

primary
#280734
secondary
#397423
accent
#F33568
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #280734

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

Preview Lab → · Contrast checker → · Palette generator →

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