#682E86#682E86

#682E86 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.147 H 312.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#682E86
RGBrgb(104, 46, 134)
HSLhsl(280, 49%, 35%)
HSVhsv(280, 66%, 53%)
CMYKcmyk(22.4%, 65.7%, 0%, 47.5%)
CIE-LABlab(30.92, 41.32, -38.64)
CIE-LCHlch(30.92, 56.57, 316.92°)
OKLaboklab(42.24% 0.0984 -0.1088)
OKLCHoklch(42.24% 0.147 312.1)
XYZxyz(10.9882, 6.6186, 23.2483)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E86 #4C862E
analogous
#3C2E86 #682E86 #862E78
triadic
#682E86 #86682E #2E8668
tetradic
#682E86 #863C2E #4C862E #2E7886
square
#682E86 #863C2E #4C862E #2E7886
split-complementary
#682E86 #78862E #2E863C
monochromatic
#210F2B #451E58 #682E86 #8B3EB4 #A764CA

Accessibility & contrast

On white

9.04
#682E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#682E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682E86
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E86#FFFFFF#000000##FFFFFF
##682E861.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034689
Deuteranopia (green-blind)
#274A84
Tritanopia (blue-blind)
#653F56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682e86;
/* rgb */ color: rgb(104, 46, 134);
/* oklch */ color: oklch(42.2% 0.147 312.1);
Tailwind
colors: {
  custom: {
    50: '#966baa',
    500: '#682e86',
    950: '#000000',
  },
}
SCSS
$custom: #682e86;
$custom-light: #966baa;
$custom-dark: #000000;
JSON
{
  "hex": "#682e86",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 279.545,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42239,
    "c": 0.14669,
    "h": 312.1
  },
  "luminance": 0.06618
}

Semantic roles & 50–950 ramp

primary
#682E86
secondary
#7BB15F
accent
#D84F7E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #682E86

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

Preview Lab → · Contrast checker → · Palette generator →

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