#280B56#280B56

#280B56 is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.4% C 0.122 H 292.9°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#280B56
RGBrgb(40, 11, 86)
HSLhsl(263, 77%, 19%)
HSVhsv(263, 87%, 34%)
CMYKcmyk(53.5%, 87.2%, 0%, 66.3%)
CIE-LABlab(11.70, 32.65, -39.11)
CIE-LCHlch(11.70, 50.95, 309.86°)
OKLaboklab(25.38% 0.0476 -0.1123)
OKLCHoklch(25.38% 0.122 292.9)
XYZxyz(2.6740, 1.3623, 8.9243)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280B56 #39560B
analogous
#0B1456 #280B56 #4E0B56
triadic
#280B56 #56280B #0B5628
tetradic
#280B56 #560B14 #39560B #0B564E
square
#280B56 #560B14 #39560B #0B564E
split-complementary
#280B56 #564E0B #14560B
monochromatic
#0D031B #0F0420 #280B56 #41128C #5A19C3

Accessibility & contrast

On white

16.50
#280B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#280B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280B56
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280B56#FFFFFF#000000##FFFFFF
##280B561.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001D55
Tritanopia (blue-blind)
#192131
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #280b56;
/* rgb */ color: rgb(40, 11, 86);
/* oklch */ color: oklch(25.4% 0.122 292.9);
Tailwind
colors: {
  custom: {
    50: '#684e86',
    500: '#280b56',
    950: '#000000',
  },
}
SCSS
$custom: #280b56;
$custom-light: #684e86;
$custom-dark: #000000;
JSON
{
  "hex": "#280b56",
  "rgb": {
    "r": 40,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 263.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2538,
    "c": 0.12196,
    "h": 292.9
  },
  "luminance": 0.01362
}

Semantic roles & 50–950 ramp

primary
#280B56
secondary
#6A912B
accent
#F434AA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #280B56

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

Preview Lab → · Contrast checker → · Palette generator →

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