#280740#280740

#280740 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.101 H 305.9°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#280740
RGBrgb(40, 7, 64)
HSLhsl(275, 80%, 14%)
HSVhsv(275, 89%, 25%)
CMYKcmyk(37.5%, 89.1%, 0%, 74.9%)
CIE-LABlab(8.77, 28.38, -28.62)
CIE-LCHlch(8.77, 40.31, 314.75°)
OKLaboklab(22.64% 0.0591 -0.0815)
OKLCHoklch(22.64% 0.101 305.9)
XYZxyz(1.8763, 0.9733, 4.9385)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280740 #1F4007
analogous
#0C0740 #280740 #40073C
triadic
#280740 #402807 #074028
tetradic
#280740 #400C07 #1F4007 #073C40
square
#280740 #400C07 #1F4007 #073C40
split-complementary
#280740 #3C4007 #07400C
monochromatic
#11031C #11031C #280740 #4A0D77 #6D13AE

Accessibility & contrast

On white

17.58
#280740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280740
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280740#FFFFFF#000000##FFFFFF
##2807401.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001842
Deuteranopia (green-blind)
#00193F
Tritanopia (blue-blind)
#241623
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280740;
/* rgb */ color: rgb(40, 7, 64);
/* oklch */ color: oklch(22.6% 0.101 305.9);
Tailwind
colors: {
  custom: {
    50: '#654b75',
    500: '#280740',
    950: '#000000',
  },
}
SCSS
$custom: #280740;
$custom-light: #654b75;
$custom-dark: #000000;
JSON
{
  "hex": "#280740",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 274.737,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22641,
    "c": 0.10065,
    "h": 305.9
  },
  "luminance": 0.00973
}

Semantic roles & 50–950 ramp

primary
#280740
secondary
#4A7F24
accent
#F73184
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280740

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

Preview Lab → · Contrast checker → · Palette generator →

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