#280647#280647

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

Color values

HEX#280647
RGBrgb(40, 6, 71)
HSLhsl(271, 84%, 15%)
HSVhsv(271, 92%, 28%)
CMYKcmyk(43.7%, 91.5%, 0%, 72.2%)
CIE-LABlab(9.29, 30.78, -32.72)
CIE-LCHlch(9.29, 44.92, 313.26°)
OKLaboklab(23.22% 0.0577 -0.0935)
OKLCHoklch(23.22% 0.11 301.7)
XYZxyz(2.0772, 1.0363, 6.0506)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280647 #254706
analogous
#080647 #280647 #470645
triadic
#280647 #472806 #064728
tetradic
#280647 #470806 #254706 #064547
square
#280647 #470806 #254706 #064547
split-complementary
#280647 #454706 #064708
monochromatic
#10021C #10021C #280647 #480B7F #6810B8

Accessibility & contrast

On white

17.40
#280647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#280647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280647
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280647#FFFFFF#000000##FFFFFF
##2806471.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001A46
Tritanopia (blue-blind)
#211827
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #280647;
/* rgb */ color: rgb(40, 6, 71);
/* oklch */ color: oklch(23.2% 0.110 301.7);
Tailwind
colors: {
  custom: {
    50: '#664b7b',
    500: '#280647',
    950: '#000000',
  },
}
SCSS
$custom: #280647;
$custom-light: #664b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#280647",
  "rgb": {
    "r": 40,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 271.385,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23222,
    "c": 0.1099,
    "h": 301.7
  },
  "luminance": 0.01036
}

Semantic roles & 50–950 ramp

primary
#280647
secondary
#528623
accent
#FB2D8F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #280647

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

Preview Lab → · Contrast checker → · Palette generator →

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