#280F5C#280F5C

#280F5C is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.125 H 289.7°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#280F5C
RGBrgb(40, 15, 92)
HSLhsl(259, 72%, 21%)
HSVhsv(259, 84%, 36%)
CMYKcmyk(56.5%, 83.7%, 0%, 63.9%)
CIE-LABlab(13.02, 32.54, -41.01)
CIE-LCHlch(13.02, 52.35, 308.43°)
OKLaboklab(26.49% 0.0422 -0.1179)
OKLCHoklch(26.49% 0.125 289.7)
XYZxyz(2.9771, 1.5653, 10.2684)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F5C #435C0F
analogous
#0F1C5C #280F5C #4E0F5C
triadic
#280F5C #5C280F #0F5C28
tetradic
#280F5C #5C0F1C #435C0F #0F5C4E
square
#280F5C #5C0F1C #435C0F #0F5C4E
split-complementary
#280F5C #5C4E0F #1C5C0F
monochromatic
#0B041A #110627 #280F5C #3F1891 #5620C5

Accessibility & contrast

On white

15.99
#280F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#280F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F5C
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F5C#FFFFFF#000000##FFFFFF
##280F5C1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235E
Deuteranopia (green-blind)
#00205B
Tritanopia (blue-blind)
#142535
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #280f5c;
/* rgb */ color: rgb(40, 15, 92);
/* oklch */ color: oklch(26.5% 0.125 289.7);
Tailwind
colors: {
  custom: {
    50: '#69518b',
    500: '#280f5c',
    950: '#000000',
  },
}
SCSS
$custom: #280f5c;
$custom-light: #69518b;
$custom-dark: #000000;
JSON
{
  "hex": "#280f5c",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 259.481,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2649,
    "c": 0.12523,
    "h": 289.7
  },
  "luminance": 0.01565
}

Semantic roles & 50–950 ramp

primary
#280F5C
secondary
#759531
accent
#EF39B4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #280F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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