#280B4A#280B4A

#280B4A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.107 H 298.8°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#280B4A
RGBrgb(40, 11, 74)
HSLhsl(268, 74%, 17%)
HSVhsv(268, 85%, 29%)
CMYKcmyk(45.9%, 85.1%, 0%, 71%)
CIE-LABlab(10.44, 29.16, -32.92)
CIE-LCHlch(10.44, 43.98, 311.53°)
OKLaboklab(24.12% 0.0517 -0.0942)
OKLCHoklch(24.12% 0.107 298.8)
XYZxyz(2.2305, 1.1848, 6.5884)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280B4A #2D4A0B
analogous
#0B0E4A #280B4A #480B4A
triadic
#280B4A #4A280B #0B4A28
tetradic
#280B4A #4A0B0E #2D4A0B #0B4A48
square
#280B4A #4A0B0E #2D4A0B #0B4A48
split-complementary
#280B4A #4A480B #0E4A0B
monochromatic
#0E041B #0E041B #280B4A #45137F #621BB5

Accessibility & contrast

On white

16.98
#280B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#280B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280B4A
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280B4A#FFFFFF#000000##FFFFFF
##280B4A1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#201C2A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #280b4a;
/* rgb */ color: rgb(40, 11, 74);
/* oklch */ color: oklch(24.1% 0.107 298.8);
Tailwind
colors: {
  custom: {
    50: '#664e7d',
    500: '#280b4a',
    950: '#000000',
  },
}
SCSS
$custom: #280b4a;
$custom-light: #664e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#280b4a",
  "rgb": {
    "r": 40,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 267.619,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2412,
    "c": 0.10745,
    "h": 298.8
  },
  "luminance": 0.01185
}

Semantic roles & 50–950 ramp

primary
#280B4A
secondary
#5C862B
accent
#F1379B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #280B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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