#682D86#682D86

#682D86 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.148 H 312.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#682D86
RGBrgb(104, 45, 134)
HSLhsl(280, 50%, 35%)
HSVhsv(280, 66%, 53%)
CMYKcmyk(22.4%, 66.4%, 0%, 47.5%)
CIE-LABlab(30.74, 41.83, -38.93)
CIE-LCHlch(30.74, 57.14, 317.05°)
OKLaboklab(42.11% 0.0997 -0.1096)
OKLCHoklch(42.11% 0.148 312.3)
XYZxyz(10.9496, 6.5413, 23.2354)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682D86 #4B862D
analogous
#3B2D86 #682D86 #862D78
triadic
#682D86 #86682D #2D8668
tetradic
#682D86 #863B2D #4B862D #2D7886
square
#682D86 #863B2D #4B862D #2D7886
split-complementary
#682D86 #78862D #2D863B
monochromatic
#210E2A #441E58 #682D86 #8C3CB4 #A863CB

Accessibility & contrast

On white

9.10
#682D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#682D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682D86
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682D86#FFFFFF#000000##FFFFFF
##682D861.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#264A84
Tritanopia (blue-blind)
#653E55
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682d86;
/* rgb */ color: rgb(104, 45, 134);
/* oklch */ color: oklch(42.1% 0.148 312.3);
Tailwind
colors: {
  custom: {
    50: '#966aaa',
    500: '#682d86',
    950: '#000000',
  },
}
SCSS
$custom: #682d86;
$custom-light: #966aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#682d86",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 279.775,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42107,
    "c": 0.14817,
    "h": 312.3
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#682D86
secondary
#7AB15E
accent
#D94F7D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #682D86

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

Preview Lab → · Contrast checker → · Palette generator →

#682D86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva