#280F41#280F41

#280F41 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.091 H 303.0°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#280F41
RGBrgb(40, 15, 65)
HSLhsl(270, 63%, 16%)
HSVhsv(270, 77%, 25%)
CMYKcmyk(38.5%, 76.9%, 0%, 74.5%)
CIE-LABlab(10.37, 24.38, -26.73)
CIE-LCHlch(10.37, 36.18, 312.37°)
OKLaboklab(23.8% 0.0493 -0.076)
OKLCHoklch(23.8% 0.091 303)
XYZxyz(1.9998, 1.1744, 5.1213)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F41 #28410F
analogous
#0F0F41 #280F41 #410F41
triadic
#280F41 #41280F #0F4128
tetradic
#280F41 #410F0F #28410F #0F4141
square
#280F41 #410F0F #28410F #0F4141
split-complementary
#280F41 #41410F #0F410F
monochromatic
#0F0619 #0F0619 #280F41 #471A73 #6526A4

Accessibility & contrast

On white

17.01
#280F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#280F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F41
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F41#FFFFFF#000000##FFFFFF
##280F411.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#001C40
Tritanopia (blue-blind)
#231A26
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #280f41;
/* rgb */ color: rgb(40, 15, 65);
/* oklch */ color: oklch(23.8% 0.091 303.0);
Tailwind
colors: {
  custom: {
    50: '#654f76',
    500: '#280f41',
    950: '#000000',
  },
}
SCSS
$custom: #280f41;
$custom-light: #654f76;
$custom-dark: #000000;
JSON
{
  "hex": "#280f41",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 270,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23802,
    "c": 0.09062,
    "h": 303
  },
  "luminance": 0.01174
}

Semantic roles & 50–950 ramp

primary
#280F41
secondary
#567B30
accent
#E64294
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #280F41

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

Preview Lab → · Contrast checker → · Palette generator →

#280F41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva