#280B48#280B48

#280B48 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.105 H 299.9°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#280B48
RGBrgb(40, 11, 72)
HSLhsl(269, 73%, 16%)
HSVhsv(269, 85%, 28%)
CMYKcmyk(44.4%, 84.7%, 0%, 71.8%)
CIE-LABlab(10.25, 28.59, -31.85)
CIE-LCHlch(10.25, 42.80, 311.90°)
OKLaboklab(23.92% 0.0524 -0.091)
OKLCHoklch(23.92% 0.105 299.9)
XYZxyz(2.1641, 1.1583, 6.2392)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280B48 #2B480B
analogous
#0B0C48 #280B48 #470B48
triadic
#280B48 #48280B #0B4828
tetradic
#280B48 #480B0C #2B480B #0B4847
square
#280B48 #480B0C #2B480B #0B4847
split-complementary
#280B48 #48470B #0C480B
monochromatic
#0F041B #0F041B #280B48 #45137D #631BB2

Accessibility & contrast

On white

17.05
#280B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#280B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280B48
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280B48#FFFFFF#000000##FFFFFF
##280B481.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#201B29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #280b48;
/* rgb */ color: rgb(40, 11, 72);
/* oklch */ color: oklch(23.9% 0.105 299.9);
Tailwind
colors: {
  custom: {
    50: '#664d7c',
    500: '#280b48',
    950: '#000000',
  },
}
SCSS
$custom: #280b48;
$custom-light: #664d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#280b48",
  "rgb": {
    "r": 40,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 268.525,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23919,
    "c": 0.10501,
    "h": 299.9
  },
  "luminance": 0.01158
}

Semantic roles & 50–950 ramp

primary
#280B48
secondary
#5A842A
accent
#F03898
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #280B48

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

Preview Lab → · Contrast checker → · Palette generator →

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