#682182#682182

#682182 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.160 H 315.3°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#682182
RGBrgb(104, 33, 130)
HSLhsl(284, 60%, 32%)
HSVhsv(284, 75%, 51%)
CMYKcmyk(20%, 74.6%, 0%, 49%)
CIE-LABlab(28.49, 46.46, -40.04)
CIE-LCHlch(28.49, 61.33, 319.24°)
OKLaboklab(40.41% 0.1139 -0.1128)
OKLCHoklch(40.41% 0.16 315.3)
XYZxyz(10.2814, 5.6429, 21.6624)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682182 #3B8221
analogous
#382182 #682182 #82216B
triadic
#682182 #826821 #218268
tetradic
#682182 #823821 #3B8221 #216B82
square
#682182 #823821 #3B8221 #216B82
split-complementary
#682182 #6B8221 #218238
monochromatic
#1A0820 #411551 #682182 #8F2DB3 #AE4CD2

Accessibility & contrast

On white

9.87
#682182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#682182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682182
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682182#FFFFFF#000000##FFFFFF
##6821821.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#1E4580
Tritanopia (blue-blind)
#66364F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #682182;
/* rgb */ color: rgb(104, 33, 130);
/* oklch */ color: oklch(40.4% 0.160 315.3);
Tailwind
colors: {
  custom: {
    50: '#9764a7',
    500: '#682182',
    950: '#000000',
  },
}
SCSS
$custom: #682182;
$custom-light: #9764a7;
$custom-dark: #000000;
JSON
{
  "hex": "#682182",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 283.918,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40411,
    "c": 0.1603,
    "h": 315.3
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#682182
secondary
#67B44A
accent
#E3456F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #682182

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

Preview Lab → · Contrast checker → · Palette generator →

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