#280440#280440

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

Color values

HEX#280440
RGBrgb(40, 4, 64)
HSLhsl(276, 88%, 13%)
HSVhsv(276, 94%, 25%)
CMYKcmyk(37.5%, 93.8%, 0%, 74.9%)
CIE-LABlab(8.20, 30.03, -29.55)
CIE-LCHlch(8.20, 42.13, 315.46°)
OKLaboklab(22.25% 0.0627 -0.0842)
OKLCHoklch(22.25% 0.105 306.7)
XYZxyz(1.8437, 0.9081, 4.9277)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280440 #1C4004
analogous
#0A0440 #280440 #40043A
triadic
#280440 #402804 #044028
tetradic
#280440 #400A04 #1C4004 #043A40
square
#280440 #400A04 #1C4004 #043A40
split-complementary
#280440 #3A4004 #04400A
monochromatic
#12021D #12021D #280440 #4C087A #700BB3

Accessibility & contrast

On white

17.77
#280440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280440
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280440#FFFFFF#000000##FFFFFF
##2804401.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#241423
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280440;
/* rgb */ color: rgb(40, 4, 64);
/* oklch */ color: oklch(22.2% 0.105 306.7);
Tailwind
colors: {
  custom: {
    50: '#664975',
    500: '#280440',
    950: '#000000',
  },
}
SCSS
$custom: #280440;
$custom-light: #664975;
$custom-dark: #000000;
JSON
{
  "hex": "#280440",
  "rgb": {
    "r": 40,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 276,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22248,
    "c": 0.10496,
    "h": 306.7
  },
  "luminance": 0.00908
}

Semantic roles & 50–950 ramp

primary
#280440
secondary
#46811F
accent
#FE297F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280440

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

Preview Lab → · Contrast checker → · Palette generator →

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