#682C8F#682C8F

#682C8F is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.159 H 309.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#682C8F
RGBrgb(104, 44, 143)
HSLhsl(276, 53%, 37%)
HSVhsv(276, 69%, 56%)
CMYKcmyk(27.3%, 69.2%, 0%, 43.9%)
CIE-LABlab(31.18, 44.42, -43.79)
CIE-LCHlch(31.18, 62.38, 315.40°)
OKLaboklab(42.62% 0.1002 -0.1239)
OKLCHoklch(42.62% 0.159 309)
XYZxyz(11.5665, 6.7278, 26.6705)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C8F #538F2C
analogous
#372C8F #682C8F #8F2C85
triadic
#682C8F #8F682C #2C8F68
tetradic
#682C8F #8F372C #538F2C #2C858F
square
#682C8F #8F372C #538F2C #2C858F
split-complementary
#682C8F #858F2C #2C8F37
monochromatic
#240F31 #461E60 #682C8F #8A3ABE #A666D0

Accessibility & contrast

On white

8.95
#682C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#682C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C8F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C8F#FFFFFF#000000##FFFFFF
##682C8F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#194A8D
Tritanopia (blue-blind)
#62415A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682c8f;
/* rgb */ color: rgb(104, 44, 143);
/* oklch */ color: oklch(42.6% 0.159 309.0);
Tailwind
colors: {
  custom: {
    50: '#976ab0',
    500: '#682c8f',
    950: '#000000',
  },
}
SCSS
$custom: #682c8f;
$custom-light: #976ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#682c8f",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 276.364,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42621,
    "c": 0.15933,
    "h": 309
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#682C8F
secondary
#82B661
accent
#DC4B85
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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