#280739#280739

#280739 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.093 H 311.1°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#280739
RGBrgb(40, 7, 57)
HSLhsl(280, 78%, 13%)
HSVhsv(280, 88%, 22%)
CMYKcmyk(29.8%, 87.7%, 0%, 77.6%)
CIE-LABlab(8.12, 26.54, -24.65)
CIE-LCHlch(8.12, 36.23, 317.11°)
OKLaboklab(21.98% 0.0609 -0.0698)
OKLCHoklch(21.98% 0.093 311.1)
XYZxyz(1.6894, 0.8985, 3.9545)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280739 #183907
analogous
#0F0739 #280739 #390731
triadic
#280739 #392807 #073928
tetradic
#280739 #390F07 #183907 #073139
square
#280739 #390F07 #183907 #073139
split-complementary
#280739 #313907 #07390F
monochromatic
#13031B #13031B #280739 #4E0E70 #7414A6

Accessibility & contrast

On white

17.80
#280739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280739
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280739#FFFFFF#000000##FFFFFF
##2807391.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#011838
Tritanopia (blue-blind)
#26131F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280739;
/* rgb */ color: rgb(40, 7, 57);
/* oklch */ color: oklch(22.0% 0.093 311.1);
Tailwind
colors: {
  custom: {
    50: '#644a70',
    500: '#280739',
    950: '#000000',
  },
}
SCSS
$custom: #280739;
$custom-light: #644a70;
$custom-dark: #000000;
JSON
{
  "hex": "#280739",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 279.6,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21981,
    "c": 0.09269,
    "h": 311.1
  },
  "luminance": 0.00898
}

Semantic roles & 50–950 ramp

primary
#280739
secondary
#407923
accent
#F53375
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280739

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

Preview Lab → · Contrast checker → · Palette generator →

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