#280340#280340

#280340 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.106 H 306.9°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#280340
RGBrgb(40, 3, 64)
HSLhsl(276, 91%, 13%)
HSVhsv(276, 95%, 25%)
CMYKcmyk(37.5%, 95.3%, 0%, 74.9%)
CIE-LABlab(8.01, 30.60, -29.86)
CIE-LCHlch(8.01, 42.76, 315.70°)
OKLaboklab(22.11% 0.064 -0.0851)
OKLCHoklch(22.11% 0.106 306.9)
XYZxyz(1.8328, 0.8864, 4.9240)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280340 #1B4003
analogous
#090340 #280340 #400339
triadic
#280340 #402803 #034028
tetradic
#280340 #400903 #1B4003 #033940
square
#280340 #400903 #1B4003 #033940
split-complementary
#280340 #394003 #034009
monochromatic
#12011D #12011D #280340 #4D067A #7108B5

Accessibility & contrast

On white

17.84
#280340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#280340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280340
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280340#FFFFFF#000000##FFFFFF
##2803401.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#241422
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280340;
/* rgb */ color: rgb(40, 3, 64);
/* oklch */ color: oklch(22.1% 0.106 306.9);
Tailwind
colors: {
  custom: {
    50: '#664975',
    500: '#280340',
    950: '#000000',
  },
}
SCSS
$custom: #280340;
$custom-light: #664975;
$custom-dark: #000000;
JSON
{
  "hex": "#280340",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 276.393,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22114,
    "c": 0.10646,
    "h": 306.9
  },
  "luminance": 0.00886
}

Semantic roles & 50–950 ramp

primary
#280340
secondary
#45821D
accent
#FF297D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280340

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

Preview Lab → · Contrast checker → · Palette generator →

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