#280735#280735

#280735 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.088 H 314.4°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#280735
RGBrgb(40, 7, 53)
HSLhsl(283, 77%, 12%)
HSVhsv(283, 87%, 21%)
CMYKcmyk(24.5%, 86.8%, 0%, 79.2%)
CIE-LABlab(7.77, 25.51, -22.30)
CIE-LCHlch(7.77, 33.89, 318.84°)
OKLaboklab(21.63% 0.0617 -0.0629)
OKLCHoklch(21.63% 0.088 314.4)
XYZxyz(1.5935, 0.8602, 3.4496)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280735 #143507
analogous
#110735 #280735 #35072B
triadic
#280735 #352807 #073528
tetradic
#280735 #351107 #143507 #072B35
square
#280735 #351107 #143507 #072B35
split-complementary
#280735 #2B3507 #073511
monochromatic
#14041B #14041B #280735 #510E6B #7A15A1

Accessibility & contrast

On white

17.92
#280735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280735
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280735#FFFFFF#000000##FFFFFF
##2807351.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #280735;
/* rgb */ color: rgb(40, 7, 53);
/* oklch */ color: oklch(21.6% 0.088 314.4);
Tailwind
colors: {
  custom: {
    50: '#644a6c',
    500: '#280735',
    950: '#000000',
  },
}
SCSS
$custom: #280735;
$custom-light: #644a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#280735",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 53
  },
  "hsl": {
    "h": 283.043,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21625,
    "c": 0.08817,
    "h": 314.4
  },
  "luminance": 0.0086
}

Semantic roles & 50–950 ramp

primary
#280735
secondary
#3A7523
accent
#F3356A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #280735

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

Preview Lab → · Contrast checker → · Palette generator →

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