#280941#280941

#280941 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.099 H 304.7°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#280941
RGBrgb(40, 9, 65)
HSLhsl(273, 76%, 15%)
HSVhsv(273, 86%, 25%)
CMYKcmyk(38.5%, 86.2%, 0%, 74.5%)
CIE-LABlab(9.22, 27.61, -28.59)
CIE-LCHlch(9.22, 39.74, 314.00°)
OKLaboklab(22.99% 0.0565 -0.0814)
OKLCHoklch(22.99% 0.099 304.7)
XYZxyz(1.9267, 1.0282, 5.0970)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280941 #224109
analogous
#0C0941 #280941 #41093E
triadic
#280941 #412809 #094128
tetradic
#280941 #410C09 #224109 #093E41
square
#280941 #410C09 #224109 #093E41
split-complementary
#280941 #3E4109 #09410C
monochromatic
#11041B #11041B #280941 #491077 #6A18AD

Accessibility & contrast

On white

17.42
#280941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#280941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280941
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280941#FFFFFF#000000##FFFFFF
##2809411.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.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: #280941;
/* rgb */ color: rgb(40, 9, 65);
/* oklch */ color: oklch(23.0% 0.099 304.7);
Tailwind
colors: {
  custom: {
    50: '#654c76',
    500: '#280941',
    950: '#000000',
  },
}
SCSS
$custom: #280941;
$custom-light: #654c76;
$custom-dark: #000000;
JSON
{
  "hex": "#280941",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 273.214,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22991,
    "c": 0.09909,
    "h": 304.7
  },
  "luminance": 0.01028
}

Semantic roles & 50–950 ramp

primary
#280941
secondary
#4E7F27
accent
#F2368A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280941

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

Preview Lab → · Contrast checker → · Palette generator →

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