#682F86#682F86

#682F86 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.4% C 0.145 H 312.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#682F86
RGBrgb(104, 47, 134)
HSLhsl(279, 48%, 35%)
HSVhsv(279, 65%, 53%)
CMYKcmyk(22.4%, 64.9%, 0%, 47.5%)
CIE-LABlab(31.11, 40.81, -38.34)
CIE-LCHlch(31.11, 56.00, 316.79°)
OKLaboklab(42.37% 0.0971 -0.1079)
OKLCHoklch(42.37% 0.145 312)
XYZxyz(11.0277, 6.6976, 23.2615)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F86 #4D862F
analogous
#3C2F86 #682F86 #862F78
triadic
#682F86 #86682F #2F8668
tetradic
#682F86 #863C2F #4D862F #2F7886
square
#682F86 #863C2F #4D862F #2F7886
split-complementary
#682F86 #78862F #2F863C
monochromatic
#220F2B #451F59 #682F86 #8B3FB3 #A766C9

Accessibility & contrast

On white

8.98
#682F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#682F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F86
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F86#FFFFFF#000000##FFFFFF
##682F861.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074689
Deuteranopia (green-blind)
#284A84
Tritanopia (blue-blind)
#654056
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682f86;
/* rgb */ color: rgb(104, 47, 134);
/* oklch */ color: oklch(42.4% 0.145 312.0);
Tailwind
colors: {
  custom: {
    50: '#966baa',
    500: '#682f86',
    950: '#000000',
  },
}
SCSS
$custom: #682f86;
$custom-light: #966baa;
$custom-dark: #000000;
JSON
{
  "hex": "#682f86",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 279.31,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42374,
    "c": 0.1452,
    "h": 312
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#682F86
secondary
#7CB060
accent
#D8507F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #682F86

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

Preview Lab → · Contrast checker → · Palette generator →

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