#280F49#280F49

#280F49 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.101 H 298.2°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#280F49
RGBrgb(40, 15, 73)
HSLhsl(266, 66%, 17%)
HSVhsv(266, 79%, 29%)
CMYKcmyk(45.2%, 79.5%, 0%, 71.4%)
CIE-LABlab(11.09, 26.76, -31.17)
CIE-LCHlch(11.09, 41.08, 310.64°)
OKLaboklab(24.55% 0.0478 -0.0891)
OKLCHoklch(24.55% 0.101 298.2)
XYZxyz(2.2482, 1.2738, 6.4295)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F49 #30490F
analogous
#0F1349 #280F49 #450F49
triadic
#280F49 #49280F #0F4928
tetradic
#280F49 #490F13 #30490F #0F4945
square
#280F49 #490F13 #30490F #0F4945
split-complementary
#280F49 #49450F #13490F
monochromatic
#0E0519 #0E0519 #280F49 #44197C #6024AF

Accessibility & contrast

On white

16.74
#280F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280F49
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F49#FFFFFF#000000##FFFFFF
##280F491.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001D48
Tritanopia (blue-blind)
#201D2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #280f49;
/* rgb */ color: rgb(40, 15, 73);
/* oklch */ color: oklch(24.5% 0.101 298.2);
Tailwind
colors: {
  custom: {
    50: '#66507c',
    500: '#280f49',
    950: '#000000',
  },
}
SCSS
$custom: #280f49;
$custom-light: #66507c;
$custom-dark: #000000;
JSON
{
  "hex": "#280f49",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 265.862,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24545,
    "c": 0.10107,
    "h": 298.2
  },
  "luminance": 0.01274
}

Semantic roles & 50–950 ramp

primary
#280F49
secondary
#608330
accent
#E93FA0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #280F49

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

Preview Lab → · Contrast checker → · Palette generator →

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