#682282#682282

#682282 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.159 H 315.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#682282
RGBrgb(104, 34, 130)
HSLhsl(284, 59%, 32%)
HSVhsv(284, 74%, 51%)
CMYKcmyk(20%, 73.8%, 0%, 49%)
CIE-LABlab(28.64, 46.04, -39.81)
CIE-LCHlch(28.64, 60.86, 319.15°)
OKLaboklab(40.52% 0.1128 -0.1121)
OKLCHoklch(40.52% 0.159 315.2)
XYZxyz(10.3096, 5.6992, 21.6717)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682282 #3C8222
analogous
#382282 #682282 #82226C
triadic
#682282 #826822 #228268
tetradic
#682282 #823822 #3C8222 #226C82
square
#682282 #823822 #3C8222 #226C82
split-complementary
#682282 #6C8222 #228238
monochromatic
#1A0921 #411551 #682282 #8F2FB3 #AD4ED1

Accessibility & contrast

On white

9.81
#682282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#682282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682282
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682282#FFFFFF#000000##FFFFFF
##6822821.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#1F4580
Tritanopia (blue-blind)
#663650
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #682282;
/* rgb */ color: rgb(104, 34, 130);
/* oklch */ color: oklch(40.5% 0.159 315.2);
Tailwind
colors: {
  custom: {
    50: '#9764a7',
    500: '#682282',
    950: '#000000',
  },
}
SCSS
$custom: #682282;
$custom-light: #9764a7;
$custom-dark: #000000;
JSON
{
  "hex": "#682282",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 283.75,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40516,
    "c": 0.15905,
    "h": 315.2
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#682282
secondary
#68B44C
accent
#E24670
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #682282

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

Preview Lab → · Contrast checker → · Palette generator →

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