#682382#682382

#682382 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.6% C 0.158 H 315.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#682382
RGBrgb(104, 35, 130)
HSLhsl(284, 58%, 32%)
HSVhsv(284, 73%, 51%)
CMYKcmyk(20%, 73.1%, 0%, 49%)
CIE-LABlab(28.79, 45.61, -39.56)
CIE-LCHlch(28.79, 60.38, 319.06°)
OKLaboklab(40.62% 0.1117 -0.1114)
OKLCHoklch(40.62% 0.158 315.1)
XYZxyz(10.3386, 5.7572, 21.6814)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682382 #3D8223
analogous
#392382 #682382 #82236D
triadic
#682382 #826823 #238268
tetradic
#682382 #823923 #3D8223 #236D82
square
#682382 #823923 #3D8223 #236D82
split-complementary
#682382 #6D8223 #238239
monochromatic
#1B0922 #411652 #682382 #8F30B2 #AD50D0

Accessibility & contrast

On white

9.76
#682382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#682382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682382
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682382#FFFFFF#000000##FFFFFF
##6823821.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#204680
Tritanopia (blue-blind)
#663750
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #682382;
/* rgb */ color: rgb(104, 35, 130);
/* oklch */ color: oklch(40.6% 0.158 315.1);
Tailwind
colors: {
  custom: {
    50: '#9665a7',
    500: '#682382',
    950: '#000000',
  },
}
SCSS
$custom: #682382;
$custom-light: #9665a7;
$custom-dark: #000000;
JSON
{
  "hex": "#682382",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 283.579,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40623,
    "c": 0.15779,
    "h": 315.1
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#682382
secondary
#69B34D
accent
#E14771
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #682382

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

Preview Lab → · Contrast checker → · Palette generator →

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