#280E48#280E48

#280E48 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.101 H 299.1°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#280E48
RGBrgb(40, 14, 72)
HSLhsl(267, 67%, 17%)
HSVhsv(267, 81%, 28%)
CMYKcmyk(44.4%, 80.6%, 0%, 71.8%)
CIE-LABlab(10.80, 27.02, -30.95)
CIE-LCHlch(10.80, 41.08, 311.12°)
OKLaboklab(24.31% 0.0492 -0.0884)
OKLCHoklch(24.31% 0.101 299.1)
XYZxyz(2.2015, 1.2330, 6.2516)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280E48 #2E480E
analogous
#0E1148 #280E48 #450E48
triadic
#280E48 #48280E #0E4828
tetradic
#280E48 #480E11 #2E480E #0E4845
square
#280E48 #480E11 #2E480E #0E4845
split-complementary
#280E48 #48450E #11480E
monochromatic
#0E051A #0E051A #280E48 #44187B #6122AE

Accessibility & contrast

On white

16.85
#280E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280E48
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280E48#FFFFFF#000000##FFFFFF
##280E481.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.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: #280e48;
/* rgb */ color: rgb(40, 14, 72);
/* oklch */ color: oklch(24.3% 0.101 299.1);
Tailwind
colors: {
  custom: {
    50: '#664f7b',
    500: '#280e48',
    950: '#000000',
  },
}
SCSS
$custom: #280e48;
$custom-light: #664f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#280e48",
  "rgb": {
    "r": 40,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 266.897,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24309,
    "c": 0.10116,
    "h": 299.1
  },
  "luminance": 0.01233
}

Semantic roles & 50–950 ramp

primary
#280E48
secondary
#5D832F
accent
#EA3D9D
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #280E48

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

Preview Lab → · Contrast checker → · Palette generator →

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