#280535#280535

#280535 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.092 H 314.9°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#280535
RGBrgb(40, 5, 53)
HSLhsl(284, 83%, 11%)
HSVhsv(284, 91%, 21%)
CMYKcmyk(24.5%, 90.6%, 0%, 79.2%)
CIE-LABlab(7.38, 26.62, -22.93)
CIE-LCHlch(7.38, 35.14, 319.25°)
OKLaboklab(21.34% 0.0647 -0.0648)
OKLCHoklch(21.34% 0.092 314.9)
XYZxyz(1.5718, 0.8168, 3.4423)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280535 #123505
analogous
#100535 #280535 #35052A
triadic
#280535 #352805 #053528
tetradic
#280535 #351005 #123505 #052A35
square
#280535 #351005 #123505 #052A35
split-complementary
#280535 #2A3505 #053510
monochromatic
#15031C #15031C #280535 #520A6D #7C10A5

Accessibility & contrast

On white

18.05
#280535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#280535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280535
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280535#FFFFFF#000000##FFFFFF
##2805351.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001436
Deuteranopia (green-blind)
#031734
Tritanopia (blue-blind)
#27101D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #280535;
/* rgb */ color: rgb(40, 5, 53);
/* oklch */ color: oklch(21.3% 0.092 314.9);
Tailwind
colors: {
  custom: {
    50: '#64496c',
    500: '#280535',
    950: '#000000',
  },
}
SCSS
$custom: #280535;
$custom-light: #64496c;
$custom-dark: #000000;
JSON
{
  "hex": "#280535",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 283.75,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21338,
    "c": 0.09158,
    "h": 314.9
  },
  "luminance": 0.00817
}

Semantic roles & 50–950 ramp

primary
#280535
secondary
#377620
accent
#F92F66
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #280535

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

Preview Lab → · Contrast checker → · Palette generator →

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