#682E8E#682E8E

#682E8E is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.8% C 0.155 H 309.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#682E8E
RGBrgb(104, 46, 142)
HSLhsl(276, 51%, 37%)
HSVhsv(276, 68%, 56%)
CMYKcmyk(26.8%, 67.6%, 0%, 44.3%)
CIE-LABlab(31.46, 43.20, -42.72)
CIE-LCHlch(31.46, 60.75, 315.32°)
OKLaboklab(42.8% 0.0979 -0.1208)
OKLCHoklch(42.8% 0.155 309)
XYZxyz(11.5674, 6.8502, 26.2988)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E8E #548E2E
analogous
#382E8E #682E8E #8E2E84
triadic
#682E8E #8E682E #2E8E68
tetradic
#682E8E #8E382E #548E2E #2E848E
square
#682E8E #8E382E #548E2E #2E848E
split-complementary
#682E8E #848E2E #2E8E38
monochromatic
#241032 #461F60 #682E8E #8A3DBC #A668CE

Accessibility & contrast

On white

8.86
#682E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#682E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682E8E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E8E#FFFFFF#000000##FFFFFF
##682E8E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#62425A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682e8e;
/* rgb */ color: rgb(104, 46, 142);
/* oklch */ color: oklch(42.8% 0.155 309.0);
Tailwind
colors: {
  custom: {
    50: '#976bb0',
    500: '#682e8e',
    950: '#000000',
  },
}
SCSS
$custom: #682e8e;
$custom-light: #976bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#682e8e",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 276.25,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42802,
    "c": 0.15547,
    "h": 309
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#682E8E
secondary
#83B563
accent
#DB4D85
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #682E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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