#280640#280640

#280640 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.102 H 306.2°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#280640
RGBrgb(40, 6, 64)
HSLhsl(275, 83%, 14%)
HSVhsv(275, 91%, 25%)
CMYKcmyk(37.5%, 90.6%, 0%, 74.9%)
CIE-LABlab(8.58, 28.92, -28.93)
CIE-LCHlch(8.58, 40.90, 314.99°)
OKLaboklab(22.51% 0.0603 -0.0824)
OKLCHoklch(22.51% 0.102 306.2)
XYZxyz(1.8654, 0.9515, 4.9349)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280640 #1E4006
analogous
#0B0640 #280640 #40063B
triadic
#280640 #402806 #064028
tetradic
#280640 #400B06 #1E4006 #063B40
square
#280640 #400B06 #1E4006 #063B40
split-complementary
#280640 #3B4006 #06400B
monochromatic
#11031C #11031C #280640 #4B0B78 #6E10B0

Accessibility & contrast

On white

17.64
#280640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#280640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280640
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280640#FFFFFF#000000##FFFFFF
##2806401.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001842
Deuteranopia (green-blind)
#00193F
Tritanopia (blue-blind)
#241523
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280640;
/* rgb */ color: rgb(40, 6, 64);
/* oklch */ color: oklch(22.5% 0.102 306.2);
Tailwind
colors: {
  custom: {
    50: '#654a75',
    500: '#280640',
    950: '#000000',
  },
}
SCSS
$custom: #280640;
$custom-light: #654a75;
$custom-dark: #000000;
JSON
{
  "hex": "#280640",
  "rgb": {
    "r": 40,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 275.172,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22512,
    "c": 0.10206,
    "h": 306.2
  },
  "luminance": 0.00952
}

Semantic roles & 50–950 ramp

primary
#280640
secondary
#498022
accent
#F92F82
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280640

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

Preview Lab → · Contrast checker → · Palette generator →

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