#280541#280541

#280541 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.5% C 0.105 H 305.7°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#280541
RGBrgb(40, 5, 65)
HSLhsl(275, 86%, 14%)
HSVhsv(275, 92%, 25%)
CMYKcmyk(38.5%, 92.3%, 0%, 74.5%)
CIE-LABlab(8.49, 29.73, -29.78)
CIE-LCHlch(8.49, 42.08, 314.95°)
OKLaboklab(22.48% 0.0611 -0.0849)
OKLCHoklch(22.48% 0.105 305.7)
XYZxyz(1.8833, 0.9413, 5.0825)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280541 #1E4105
analogous
#0A0541 #280541 #41053C
triadic
#280541 #412805 #054128
tetradic
#280541 #410A05 #1E4105 #053C41
square
#280541 #410A05 #1E4105 #053C41
split-complementary
#280541 #3C4105 #05410A
monochromatic
#11021C #11021C #280541 #4B097A #6E0EB3

Accessibility & contrast

On white

17.67
#280541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#280541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280541
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280541#FFFFFF#000000##FFFFFF
##2805411.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#231523
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280541;
/* rgb */ color: rgb(40, 5, 65);
/* oklch */ color: oklch(22.5% 0.105 305.7);
Tailwind
colors: {
  custom: {
    50: '#664a76',
    500: '#280541',
    950: '#000000',
  },
}
SCSS
$custom: #280541;
$custom-light: #664a76;
$custom-dark: #000000;
JSON
{
  "hex": "#280541",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 275,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22481,
    "c": 0.1046,
    "h": 305.7
  },
  "luminance": 0.00941
}

Semantic roles & 50–950 ramp

primary
#280541
secondary
#498120
accent
#FC2C83
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280541

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

Preview Lab → · Contrast checker → · Palette generator →

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