#280C53#280C53

#280C53 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.2% C 0.117 H 294.1°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#280C53
RGBrgb(40, 12, 83)
HSLhsl(264, 75%, 19%)
HSVhsv(264, 86%, 33%)
CMYKcmyk(51.8%, 85.5%, 0%, 67.5%)
CIE-LABlab(11.54, 31.31, -37.33)
CIE-LCHlch(11.54, 48.72, 309.98°)
OKLaboklab(25.17% 0.0478 -0.1071)
OKLCHoklch(25.17% 0.117 294.1)
XYZxyz(2.5674, 1.3385, 8.3050)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C53 #37530C
analogous
#0C1353 #280C53 #4B0C53
triadic
#280C53 #53280C #0C5328
tetradic
#280C53 #530C13 #37530C #0C534B
square
#280C53 #530C13 #37530C #0C534B
split-complementary
#280C53 #534B0C #13530C
monochromatic
#0D041B #0E041E #280C53 #421488 #5C1BBE

Accessibility & contrast

On white

16.56
#280C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C53
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C53#FFFFFF#000000##FFFFFF
##280C531.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F55
Deuteranopia (green-blind)
#001D52
Tritanopia (blue-blind)
#1B202F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #280c53;
/* rgb */ color: rgb(40, 12, 83);
/* oklch */ color: oklch(25.2% 0.117 294.1);
Tailwind
colors: {
  custom: {
    50: '#684f84',
    500: '#280c53',
    950: '#000000',
  },
}
SCSS
$custom: #280c53;
$custom-light: #684f84;
$custom-dark: #000000;
JSON
{
  "hex": "#280c53",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 263.662,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2517,
    "c": 0.1173,
    "h": 294.1
  },
  "luminance": 0.01339
}

Semantic roles & 50–950 ramp

primary
#280C53
secondary
#688E2D
accent
#F136A8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #280C53

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

Preview Lab → · Contrast checker → · Palette generator →

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