#280F4A#280F4A

#280F4A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.102 H 297.7°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#280F4A
RGBrgb(40, 15, 74)
HSLhsl(265, 66%, 17%)
HSVhsv(265, 80%, 29%)
CMYKcmyk(45.9%, 79.7%, 0%, 71%)
CIE-LABlab(11.19, 27.06, -31.72)
CIE-LCHlch(11.19, 41.69, 310.47°)
OKLaboklab(24.64% 0.0476 -0.0906)
OKLCHoklch(24.64% 0.102 297.7)
XYZxyz(2.2816, 1.2871, 6.6055)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F4A #314A0F
analogous
#0F134A #280F4A #460F4A
triadic
#280F4A #4A280F #0F4A28
tetradic
#280F4A #4A0F13 #314A0F #0F4A46
square
#280F4A #4A0F13 #314A0F #0F4A46
split-complementary
#280F4A #4A460F #134A0F
monochromatic
#0E0519 #0E0519 #280F4A #44197D #5F24B0

Accessibility & contrast

On white

16.70
#280F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#280F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F4A
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F4A#FFFFFF#000000##FFFFFF
##280F4A1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#1F1E2B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #280f4a;
/* rgb */ color: rgb(40, 15, 74);
/* oklch */ color: oklch(24.6% 0.102 297.7);
Tailwind
colors: {
  custom: {
    50: '#66507d',
    500: '#280f4a',
    950: '#000000',
  },
}
SCSS
$custom: #280f4a;
$custom-light: #66507d;
$custom-dark: #000000;
JSON
{
  "hex": "#280f4a",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 265.424,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24641,
    "c": 0.10236,
    "h": 297.7
  },
  "luminance": 0.01287
}

Semantic roles & 50–950 ramp

primary
#280F4A
secondary
#618430
accent
#E93FA1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #280F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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