#280F48#280F48

#280F48 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.100 H 298.8°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#280F48
RGBrgb(40, 15, 72)
HSLhsl(266, 66%, 17%)
HSVhsv(266, 79%, 28%)
CMYKcmyk(44.4%, 79.2%, 0%, 71.8%)
CIE-LABlab(11.00, 26.46, -30.63)
CIE-LCHlch(11.00, 40.47, 310.82°)
OKLaboklab(24.45% 0.048 -0.0875)
OKLCHoklch(24.45% 0.1 298.8)
XYZxyz(2.2153, 1.2606, 6.2562)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F48 #2F480F
analogous
#0F1348 #280F48 #450F48
triadic
#280F48 #48280F #0F4828
tetradic
#280F48 #480F13 #2F480F #0F4845
square
#280F48 #480F13 #2F480F #0F4845
split-complementary
#280F48 #48450F #13480F
monochromatic
#0E0519 #0E0519 #280F48 #441A7B #6024AD

Accessibility & contrast

On white

16.77
#280F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#280F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F48
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F48#FFFFFF#000000##FFFFFF
##280F481.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001D47
Tritanopia (blue-blind)
#201D2A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #280f48;
/* rgb */ color: rgb(40, 15, 72);
/* oklch */ color: oklch(24.4% 0.100 298.8);
Tailwind
colors: {
  custom: {
    50: '#66507b',
    500: '#280f48',
    950: '#000000',
  },
}
SCSS
$custom: #280f48;
$custom-light: #66507b;
$custom-dark: #000000;
JSON
{
  "hex": "#280f48",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 266.316,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24449,
    "c": 0.09978,
    "h": 298.8
  },
  "luminance": 0.01261
}

Semantic roles & 50–950 ramp

primary
#280F48
secondary
#5E8230
accent
#E83F9E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #280F48

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

Preview Lab → · Contrast checker → · Palette generator →

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