#280741#280741

#280741 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.102 H 305.2°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#280741
RGBrgb(40, 7, 65)
HSLhsl(274, 81%, 14%)
HSVhsv(274, 89%, 25%)
CMYKcmyk(38.5%, 89.2%, 0%, 74.5%)
CIE-LABlab(8.86, 28.65, -29.18)
CIE-LCHlch(8.86, 40.89, 314.48°)
OKLaboklab(22.74% 0.0587 -0.0831)
OKLCHoklch(22.74% 0.102 305.2)
XYZxyz(1.9050, 0.9847, 5.0897)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280741 #204107
analogous
#0B0741 #280741 #41073D
triadic
#280741 #412807 #074128
tetradic
#280741 #410B07 #204107 #073D41
square
#280741 #410B07 #204107 #073D41
split-complementary
#280741 #3D4107 #07410B
monochromatic
#11031C #11031C #280741 #4A0D78 #6C13B0

Accessibility & contrast

On white

17.54
#280741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280741
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280741#FFFFFF#000000##FFFFFF
##2807411.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#231624
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280741;
/* rgb */ color: rgb(40, 7, 65);
/* oklch */ color: oklch(22.7% 0.102 305.2);
Tailwind
colors: {
  custom: {
    50: '#654b76',
    500: '#280741',
    950: '#000000',
  },
}
SCSS
$custom: #280741;
$custom-light: #654b76;
$custom-dark: #000000;
JSON
{
  "hex": "#280741",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 274.138,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22739,
    "c": 0.10179,
    "h": 305.2
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#280741
secondary
#4C8024
accent
#F73186
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280741

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

Preview Lab → · Contrast checker → · Palette generator →

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