#280D52#280D52

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

Color values

HEX#280D52
RGBrgb(40, 13, 82)
HSLhsl(263, 73%, 19%)
HSVhsv(263, 84%, 32%)
CMYKcmyk(51.2%, 84.1%, 0%, 67.8%)
CIE-LABlab(11.61, 30.52, -36.54)
CIE-LCHlch(11.61, 47.61, 309.87°)
OKLaboklab(25.18% 0.0473 -0.1048)
OKLCHoklch(25.18% 0.115 294.3)
XYZxyz(2.5416, 1.3481, 8.1073)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D52 #37520D
analogous
#0D1452 #280D52 #4A0D52
triadic
#280D52 #52280D #0D5228
tetradic
#280D52 #520D14 #37520D #0D524A
square
#280D52 #520D14 #37520D #0D524A
split-complementary
#280D52 #524A0D #14520D
monochromatic
#0D041A #0E051D #280D52 #421587 #5C1EBC

Accessibility & contrast

On white

16.54
#280D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280D52
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D52#FFFFFF#000000##FFFFFF
##280D521.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #280d52;
/* rgb */ color: rgb(40, 13, 82);
/* oklch */ color: oklch(25.2% 0.115 294.3);
Tailwind
colors: {
  custom: {
    50: '#674f83',
    500: '#280d52',
    950: '#000000',
  },
}
SCSS
$custom: #280d52;
$custom-light: #674f83;
$custom-dark: #000000;
JSON
{
  "hex": "#280d52",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 263.478,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25184,
    "c": 0.11498,
    "h": 294.3
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#280D52
secondary
#688D2E
accent
#EF38A8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #280D52

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

Preview Lab → · Contrast checker → · Palette generator →

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