#280546#280546

#280546 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.110 H 302.5°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#280546
RGBrgb(40, 5, 70)
HSLhsl(272, 87%, 15%)
HSVhsv(272, 93%, 27%)
CMYKcmyk(42.9%, 92.9%, 0%, 72.5%)
CIE-LABlab(9.01, 31.04, -32.48)
CIE-LCHlch(9.01, 44.93, 313.71°)
OKLaboklab(22.99% 0.0592 -0.0928)
OKLCHoklch(22.99% 0.11 302.5)
XYZxyz(2.0346, 1.0018, 5.8794)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280546 #234605
analogous
#080546 #280546 #460544
triadic
#280546 #462805 #054628
tetradic
#280546 #460805 #234605 #054446
square
#280546 #460805 #234605 #054446
split-complementary
#280546 #444605 #054608
monochromatic
#10021D #10021D #280546 #49097F #690DB8

Accessibility & contrast

On white

17.49
#280546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#280546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280546
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280546#FFFFFF#000000##FFFFFF
##2805461.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001945
Tritanopia (blue-blind)
#211726
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280546;
/* rgb */ color: rgb(40, 5, 70);
/* oklch */ color: oklch(23.0% 0.110 302.5);
Tailwind
colors: {
  custom: {
    50: '#664a7a',
    500: '#280546',
    950: '#000000',
  },
}
SCSS
$custom: #280546;
$custom-light: #664a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#280546",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 272.308,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22995,
    "c": 0.11007,
    "h": 302.5
  },
  "luminance": 0.01002
}

Semantic roles & 50–950 ramp

primary
#280546
secondary
#508621
accent
#FD2B8C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #280546

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

Preview Lab → · Contrast checker → · Palette generator →

#280546 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva