#280F4C#280F4C

#280F4C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.105 H 296.6°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#280F4C
RGBrgb(40, 15, 76)
HSLhsl(265, 67%, 18%)
HSVhsv(265, 80%, 30%)
CMYKcmyk(47.4%, 80.3%, 0%, 70.2%)
CIE-LABlab(11.38, 27.66, -32.79)
CIE-LCHlch(11.38, 42.90, 310.15°)
OKLaboklab(24.84% 0.0471 -0.0938)
OKLCHoklch(24.84% 0.105 296.6)
XYZxyz(2.3501, 1.3145, 6.9660)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F4C #334C0F
analogous
#0F144C #280F4C #460F4C
triadic
#280F4C #4C280F #0F4C28
tetradic
#280F4C #4C0F14 #334C0F #0F4C46
square
#280F4C #4C0F14 #334C0F #0F4C46
split-complementary
#280F4C #4C460F #144C0F
monochromatic
#0D051A #0D051A #280F4C #43197F #5E23B2

Accessibility & contrast

On white

16.63
#280F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280F4C
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F4C#FFFFFF#000000##FFFFFF
##280F4C1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#1F1F2C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #280f4c;
/* rgb */ color: rgb(40, 15, 76);
/* oklch */ color: oklch(24.8% 0.105 296.6);
Tailwind
colors: {
  custom: {
    50: '#66507f',
    500: '#280f4c',
    950: '#000000',
  },
}
SCSS
$custom: #280f4c;
$custom-light: #66507f;
$custom-dark: #000000;
JSON
{
  "hex": "#280f4c",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 264.59,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24836,
    "c": 0.10495,
    "h": 296.6
  },
  "luminance": 0.01315
}

Semantic roles & 50–950 ramp

primary
#280F4C
secondary
#638631
accent
#EA3EA3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #280F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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