#280D46#280D46

#280D46 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.100 H 300.5°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#280D46
RGBrgb(40, 13, 70)
HSLhsl(268, 69%, 16%)
HSVhsv(268, 81%, 27%)
CMYKcmyk(42.9%, 81.4%, 0%, 72.5%)
CIE-LABlab(10.42, 26.97, -30.17)
CIE-LCHlch(10.42, 40.47, 311.79°)
OKLaboklab(23.98% 0.0508 -0.0861)
OKLCHoklch(23.98% 0.1 300.5)
XYZxyz(2.1242, 1.1811, 5.9092)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D46 #2B460D
analogous
#0D0F46 #280D46 #450D46
triadic
#280D46 #46280D #0D4628
tetradic
#280D46 #460D0F #2B460D #0D4645
square
#280D46 #460D0F #2B460D #0D4645
split-complementary
#280D46 #46450D #0F460D
monochromatic
#0F051A #0F051A #280D46 #45177A #6320AD

Accessibility & contrast

On white

16.99
#280D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280D46
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D46#FFFFFF#000000##FFFFFF
##280D461.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#001C45
Tritanopia (blue-blind)
#211B28
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #280d46;
/* rgb */ color: rgb(40, 13, 70);
/* oklch */ color: oklch(24.0% 0.100 300.5);
Tailwind
colors: {
  custom: {
    50: '#664e7a',
    500: '#280d46',
    950: '#000000',
  },
}
SCSS
$custom: #280d46;
$custom-light: #664e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#280d46",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 70
  },
  "hsl": {
    "h": 268.421,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2398,
    "c": 0.09996,
    "h": 300.5
  },
  "luminance": 0.01181
}

Semantic roles & 50–950 ramp

primary
#280D46
secondary
#5A812D
accent
#EC3C99
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #280D46

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

Preview Lab → · Contrast checker → · Palette generator →

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