#280835#280835

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

Color values

HEX#280835
RGBrgb(40, 8, 53)
HSLhsl(283, 74%, 12%)
HSVhsv(283, 85%, 21%)
CMYKcmyk(24.5%, 84.9%, 0%, 79.2%)
CIE-LABlab(7.97, 24.96, -21.99)
CIE-LCHlch(7.97, 33.26, 318.62°)
OKLaboklab(21.77% 0.0603 -0.062)
OKLCHoklch(21.77% 0.087 314.2)
XYZxyz(1.6044, 0.8819, 3.4532)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280835 #153508
analogous
#120835 #280835 #35082C
triadic
#280835 #352808 #083528
tetradic
#280835 #351208 #153508 #082C35
square
#280835 #351208 #153508 #082C35
split-complementary
#280835 #2C3508 #083512
monochromatic
#14041B #14041B #280835 #50106A #78189F

Accessibility & contrast

On white

17.85
#280835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#280835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280835
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280835#FFFFFF#000000##FFFFFF
##2808351.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#061834
Tritanopia (blue-blind)
#27121D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #280835;
/* rgb */ color: rgb(40, 8, 53);
/* oklch */ color: oklch(21.8% 0.087 314.2);
Tailwind
colors: {
  custom: {
    50: '#644b6c',
    500: '#280835',
    950: '#000000',
  },
}
SCSS
$custom: #280835;
$custom-light: #644b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#280835",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 282.667,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21766,
    "c": 0.08652,
    "h": 314.2
  },
  "luminance": 0.00882
}

Semantic roles & 50–950 ramp

primary
#280835
secondary
#3C7425
accent
#F0376D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #280835

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

Preview Lab → · Contrast checker → · Palette generator →

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