#280D47#280D47

#280D47 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.101 H 299.9°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#280D47
RGBrgb(40, 13, 71)
HSLhsl(268, 69%, 16%)
HSVhsv(268, 82%, 28%)
CMYKcmyk(43.7%, 81.7%, 0%, 72.2%)
CIE-LABlab(10.51, 27.26, -30.72)
CIE-LCHlch(10.51, 41.07, 311.59°)
OKLaboklab(24.08% 0.0505 -0.0877)
OKLCHoklch(24.08% 0.101 299.9)
XYZxyz(2.1560, 1.1939, 6.0769)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D47 #2C470D
analogous
#0D0F47 #280D47 #450D47
triadic
#280D47 #47280D #0D4728
tetradic
#280D47 #470D0F #2C470D #0D4745
square
#280D47 #470D0F #2C470D #0D4745
split-complementary
#280D47 #47450D #0F470D
monochromatic
#0F051A #0F051A #280D47 #45167B #6220AE

Accessibility & contrast

On white

16.95
#280D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#280D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280D47
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D47#FFFFFF#000000##FFFFFF
##280D471.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001C46
Tritanopia (blue-blind)
#211C29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #280d47;
/* rgb */ color: rgb(40, 13, 71);
/* oklch */ color: oklch(24.1% 0.101 299.9);
Tailwind
colors: {
  custom: {
    50: '#664e7b',
    500: '#280d47',
    950: '#000000',
  },
}
SCSS
$custom: #280d47;
$custom-light: #664e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#280d47",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 267.931,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24076,
    "c": 0.10123,
    "h": 299.9
  },
  "luminance": 0.01194
}

Semantic roles & 50–950 ramp

primary
#280D47
secondary
#5B822D
accent
#EC3C9A
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #280D47

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

Preview Lab → · Contrast checker → · Palette generator →

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