#280841#280841

#280841 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.100 H 305.0°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#280841
RGBrgb(40, 8, 65)
HSLhsl(274, 78%, 14%)
HSVhsv(274, 88%, 25%)
CMYKcmyk(38.5%, 87.7%, 0%, 74.5%)
CIE-LABlab(9.04, 28.12, -28.88)
CIE-LCHlch(9.04, 40.31, 314.24°)
OKLaboklab(22.87% 0.0576 -0.0823)
OKLCHoklch(22.87% 0.1 305)
XYZxyz(1.9158, 1.0064, 5.0933)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280841 #214108
analogous
#0C0841 #280841 #41083E
triadic
#280841 #412808 #084128
tetradic
#280841 #410C08 #214108 #083E41
square
#280841 #410C08 #214108 #083E41
split-complementary
#280841 #3E4108 #08410C
monochromatic
#11031B #11031B #280841 #4A0F77 #6B15AE

Accessibility & contrast

On white

17.48
#280841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#280841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280841
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280841#FFFFFF#000000##FFFFFF
##2808411.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001A40
Tritanopia (blue-blind)
#231724
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280841;
/* rgb */ color: rgb(40, 8, 65);
/* oklch */ color: oklch(22.9% 0.100 305.0);
Tailwind
colors: {
  custom: {
    50: '#654b76',
    500: '#280841',
    950: '#000000',
  },
}
SCSS
$custom: #280841;
$custom-light: #654b76;
$custom-dark: #000000;
JSON
{
  "hex": "#280841",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 273.684,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22866,
    "c": 0.10042,
    "h": 305
  },
  "luminance": 0.01006
}

Semantic roles & 50–950 ramp

primary
#280841
secondary
#4D7F25
accent
#F53388
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280841

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

Preview Lab → · Contrast checker → · Palette generator →

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