#682885#682885

#682885 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.4% C 0.154 H 313.3°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#682885
RGBrgb(104, 40, 133)
HSLhsl(281, 54%, 34%)
HSVhsv(281, 70%, 52%)
CMYKcmyk(21.8%, 69.9%, 0%, 47.8%)
CIE-LABlab(29.80, 44.02, -39.82)
CIE-LCHlch(29.80, 59.36, 317.87°)
OKLaboklab(41.41% 0.1058 -0.1122)
OKLCHoklch(41.41% 0.154 313.3)
XYZxyz(10.7006, 6.1544, 22.8100)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682885 #458528
analogous
#3A2885 #682885 #852874
triadic
#682885 #856828 #288568
tetradic
#682885 #853A28 #458528 #287485
square
#682885 #853A28 #458528 #287485
split-complementary
#682885 #748528 #28853A
monochromatic
#1E0C27 #431A56 #682885 #8D36B4 #A95ACD

Accessibility & contrast

On white

9.41
#682885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#682885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682885
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682885#FFFFFF#000000##FFFFFF
##6828851.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#224883
Tritanopia (blue-blind)
#653B53
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682885;
/* rgb */ color: rgb(104, 40, 133);
/* oklch */ color: oklch(41.4% 0.154 313.3);
Tailwind
colors: {
  custom: {
    50: '#9667a9',
    500: '#682885',
    950: '#000000',
  },
}
SCSS
$custom: #682885;
$custom-light: #9667a9;
$custom-dark: #000000;
JSON
{
  "hex": "#682885",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 281.29,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41409,
    "c": 0.15421,
    "h": 313.3
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#682885
secondary
#73B356
accent
#DD4B78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682885

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

Preview Lab → · Contrast checker → · Palette generator →

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