#280646#280646

#280646 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.1% C 0.109 H 302.3°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#280646
RGBrgb(40, 6, 70)
HSLhsl(272, 84%, 15%)
HSVhsv(272, 91%, 27%)
CMYKcmyk(42.9%, 91.4%, 0%, 72.5%)
CIE-LABlab(9.19, 30.51, -32.18)
CIE-LCHlch(9.19, 44.35, 313.47°)
OKLaboklab(23.12% 0.0581 -0.0919)
OKLCHoklch(23.12% 0.109 302.3)
XYZxyz(2.0454, 1.0236, 5.8830)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280646 #244606
analogous
#080646 #280646 #460644
triadic
#280646 #462806 #064628
tetradic
#280646 #460806 #244606 #064446
square
#280646 #460806 #244606 #064446
split-complementary
#280646 #444606 #064608
monochromatic
#10021C #10021C #280646 #480B7E #6810B7

Accessibility & contrast

On white

17.43
#280646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280646
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280646#FFFFFF#000000##FFFFFF
##2806461.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #280646;
/* rgb */ color: rgb(40, 6, 70);
/* oklch */ color: oklch(23.1% 0.109 302.3);
Tailwind
colors: {
  custom: {
    50: '#664b7a',
    500: '#280646',
    950: '#000000',
  },
}
SCSS
$custom: #280646;
$custom-light: #664b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#280646",
  "rgb": {
    "r": 40,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 271.875,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23118,
    "c": 0.10878,
    "h": 302.3
  },
  "luminance": 0.01024
}

Semantic roles & 50–950 ramp

primary
#280646
secondary
#518522
accent
#FA2D8D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #280646

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

Preview Lab → · Contrast checker → · Palette generator →

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