#280D4F#280D4F

#280D4F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.111 H 295.7°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#280D4F
RGBrgb(40, 13, 79)
HSLhsl(265, 72%, 18%)
HSVhsv(265, 84%, 31%)
CMYKcmyk(49.4%, 83.5%, 0%, 69%)
CIE-LABlab(11.30, 29.63, -34.99)
CIE-LCHlch(11.30, 45.84, 310.26°)
OKLaboklab(24.87% 0.0483 -0.1002)
OKLCHoklch(24.87% 0.111 295.7)
XYZxyz(2.4299, 1.3034, 7.5192)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D4F #344F0D
analogous
#0D134F #280D4F #490D4F
triadic
#280D4F #4F280D #0D4F28
tetradic
#280D4F #4F0D13 #344F0D #0D4F49
square
#280D4F #4F0D13 #344F0D #0D4F49
split-complementary
#280D4F #4F490D #134F0D
monochromatic
#0D041A #0D041A #280D4F #431684 #5D1EB8

Accessibility & contrast

On white

16.66
#280D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280D4F
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D4F#FFFFFF#000000##FFFFFF
##280D4F1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001D4E
Tritanopia (blue-blind)
#1D1F2D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #280d4f;
/* rgb */ color: rgb(40, 13, 79);
/* oklch */ color: oklch(24.9% 0.111 295.7);
Tailwind
colors: {
  custom: {
    50: '#674f81',
    500: '#280d4f',
    950: '#000000',
  },
}
SCSS
$custom: #280d4f;
$custom-light: #674f81;
$custom-dark: #000000;
JSON
{
  "hex": "#280d4f",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 264.545,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24874,
    "c": 0.11125,
    "h": 295.7
  },
  "luminance": 0.01303
}

Semantic roles & 50–950 ramp

primary
#280D4F
secondary
#648A2E
accent
#EE39A4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #280D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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