#280D54#280D54

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

Color values

HEX#280D54
RGBrgb(40, 13, 84)
HSLhsl(263, 73%, 19%)
HSVhsv(263, 85%, 33%)
CMYKcmyk(52.4%, 84.5%, 0%, 67.1%)
CIE-LABlab(11.82, 31.11, -37.56)
CIE-LCHlch(11.82, 48.78, 309.64°)
OKLaboklab(25.39% 0.0466 -0.1078)
OKLCHoklch(25.39% 0.117 293.4)
XYZxyz(2.6188, 1.3790, 8.5140)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D54 #39540D
analogous
#0D1654 #280D54 #4C0D54
triadic
#280D54 #54280D #0D5428
tetradic
#280D54 #540D16 #39540D #0D544C
square
#280D54 #540D16 #39540D #0D544C
split-complementary
#280D54 #544C0D #16540D
monochromatic
#0D041A #0F051F #280D54 #411589 #5A1DBE

Accessibility & contrast

On white

16.46
#280D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280D54
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D54#FFFFFF#000000##FFFFFF
##280D541.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002056
Deuteranopia (green-blind)
#001E53
Tritanopia (blue-blind)
#1A2130
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #280d54;
/* rgb */ color: rgb(40, 13, 84);
/* oklch */ color: oklch(25.4% 0.117 293.4);
Tailwind
colors: {
  custom: {
    50: '#684f85',
    500: '#280d54',
    950: '#000000',
  },
}
SCSS
$custom: #280d54;
$custom-light: #684f85;
$custom-dark: #000000;
JSON
{
  "hex": "#280d54",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 262.817,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25394,
    "c": 0.11745,
    "h": 293.4
  },
  "luminance": 0.01379
}

Semantic roles & 50–950 ramp

primary
#280D54
secondary
#6A8F2E
accent
#F038AA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #280D54

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

Preview Lab → · Contrast checker → · Palette generator →

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