#280F5E#280F5E

#280F5E is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.7% C 0.128 H 289.0°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#280F5E
RGBrgb(40, 15, 94)
HSLhsl(259, 72%, 21%)
HSVhsv(259, 84%, 37%)
CMYKcmyk(57.4%, 84%, 0%, 63.1%)
CIE-LABlab(13.23, 33.15, -41.99)
CIE-LCHlch(13.23, 53.50, 308.29°)
OKLaboklab(26.71% 0.0415 -0.1208)
OKLCHoklch(26.71% 0.128 289)
XYZxyz(3.0657, 1.6008, 10.7349)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F5E #455E0F
analogous
#0F1E5E #280F5E #500F5E
triadic
#280F5E #5E280F #0F5E28
tetradic
#280F5E #5E0F1E #455E0F #0F5E50
square
#280F5E #5E0F1E #455E0F #0F5E50
split-complementary
#280F5E #5E500F #1E5E0F
monochromatic
#0B041A #120729 #280F5E #3E1793 #5520C8

Accessibility & contrast

On white

15.91
#280F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#280F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F5E
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F5E#FFFFFF#000000##FFFFFF
##280F5E1.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#00205D
Tritanopia (blue-blind)
#122636
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #280f5e;
/* rgb */ color: rgb(40, 15, 94);
/* oklch */ color: oklch(26.7% 0.128 289.0);
Tailwind
colors: {
  custom: {
    50: '#69518d',
    500: '#280f5e',
    950: '#000000',
  },
}
SCSS
$custom: #280f5e;
$custom-light: #69518d;
$custom-dark: #000000;
JSON
{
  "hex": "#280f5e",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 258.987,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26707,
    "c": 0.12772,
    "h": 289
  },
  "luminance": 0.01601
}

Semantic roles & 50–950 ramp

primary
#280F5E
secondary
#779731
accent
#EF39B5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #280F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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