#280C55#280C55

#280C55 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.120 H 293.2°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#280C55
RGBrgb(40, 12, 85)
HSLhsl(263, 75%, 19%)
HSVhsv(263, 86%, 33%)
CMYKcmyk(52.9%, 85.9%, 0%, 66.7%)
CIE-LABlab(11.76, 31.90, -38.35)
CIE-LCHlch(11.76, 49.88, 309.76°)
OKLaboklab(25.38% 0.0471 -0.1101)
OKLCHoklch(25.38% 0.12 293.2)
XYZxyz(2.6458, 1.3698, 8.7176)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C55 #39550C
analogous
#0C1455 #280C55 #4D0C55
triadic
#280C55 #55280C #0C5528
tetradic
#280C55 #550C14 #39550C #0C554D
square
#280C55 #550C14 #39550C #0C554D
split-complementary
#280C55 #554D0C #14550C
monochromatic
#0D041B #0F041F #280C55 #41148B #5A1BC0

Accessibility & contrast

On white

16.48
#280C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C55
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C55#FFFFFF#000000##FFFFFF
##280C551.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002057
Deuteranopia (green-blind)
#001E54
Tritanopia (blue-blind)
#1A2131
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #280c55;
/* rgb */ color: rgb(40, 12, 85);
/* oklch */ color: oklch(25.4% 0.120 293.2);
Tailwind
colors: {
  custom: {
    50: '#684f86',
    500: '#280c55',
    950: '#000000',
  },
}
SCSS
$custom: #280c55;
$custom-light: #684f86;
$custom-dark: #000000;
JSON
{
  "hex": "#280c55",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 263.014,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25383,
    "c": 0.11974,
    "h": 293.2
  },
  "luminance": 0.0137
}

Semantic roles & 50–950 ramp

primary
#280C55
secondary
#6A902D
accent
#F236AA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #280C55

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

Preview Lab → · Contrast checker → · Palette generator →

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