#280D56#280D56

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

Color values

HEX#280D56
RGBrgb(40, 13, 86)
HSLhsl(262, 74%, 19%)
HSVhsv(262, 85%, 34%)
CMYKcmyk(53.5%, 84.9%, 0%, 66.3%)
CIE-LABlab(12.03, 31.71, -38.58)
CIE-LCHlch(12.03, 49.94, 309.42°)
OKLaboklab(25.61% 0.0459 -0.1108)
OKLCHoklch(25.61% 0.12 292.5)
XYZxyz(2.6982, 1.4108, 8.9324)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D56 #3B560D
analogous
#0D1756 #280D56 #4D0D56
triadic
#280D56 #56280D #0D5628
tetradic
#280D56 #560D17 #3B560D #0D564D
square
#280D56 #560D17 #3B560D #0D564D
split-complementary
#280D56 #564D0D #17560D
monochromatic
#0C041B #0F0521 #280D56 #41158B #591DC0

Accessibility & contrast

On white

16.38
#280D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#280D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280D56
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D56#FFFFFF#000000##FFFFFF
##280D561.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001E55
Tritanopia (blue-blind)
#192231
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #280d56;
/* rgb */ color: rgb(40, 13, 86);
/* oklch */ color: oklch(25.6% 0.120 292.5);
Tailwind
colors: {
  custom: {
    50: '#684f86',
    500: '#280d56',
    950: '#000000',
  },
}
SCSS
$custom: #280d56;
$custom-light: #684f86;
$custom-dark: #000000;
JSON
{
  "hex": "#280d56",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 262.192,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25606,
    "c": 0.11992,
    "h": 292.5
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#280D56
secondary
#6C912E
accent
#F037AC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #280D56

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

Preview Lab → · Contrast checker → · Palette generator →

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