#280733#280733

#280733 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.086 H 316.2°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#280733
RGBrgb(40, 7, 51)
HSLhsl(285, 76%, 11%)
HSVhsv(285, 86%, 20%)
CMYKcmyk(21.6%, 86.3%, 0%, 80%)
CIE-LABlab(7.61, 25.00, -21.10)
CIE-LCHlch(7.61, 32.71, 319.84°)
OKLaboklab(21.45% 0.0621 -0.0594)
OKLCHoklch(21.45% 0.086 316.2)
XYZxyz(1.5485, 0.8422, 3.2123)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280733 #123307
analogous
#120733 #280733 #330728
triadic
#280733 #332807 #073328
tetradic
#280733 #331207 #123307 #072833
square
#280733 #331207 #123307 #072833
split-complementary
#280733 #283307 #073312
monochromatic
#15041B #15041B #280733 #520E69 #7C169F

Accessibility & contrast

On white

17.97
#280733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280733
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280733#FFFFFF#000000##FFFFFF
##2807331.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#071832
Tritanopia (blue-blind)
#27101C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #280733;
/* rgb */ color: rgb(40, 7, 51);
/* oklch */ color: oklch(21.5% 0.086 316.2);
Tailwind
colors: {
  custom: {
    50: '#644a6b',
    500: '#280733',
    950: '#000000',
  },
}
SCSS
$custom: #280733;
$custom-light: #644a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#280733",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 285,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21453,
    "c": 0.08593,
    "h": 316.2
  },
  "luminance": 0.00842
}

Semantic roles & 50–950 ramp

primary
#280733
secondary
#377323
accent
#F23565
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280733

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

Preview Lab → · Contrast checker → · Palette generator →

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