#682E8A#682E8A

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

Color values

HEX#682E8A
RGBrgb(104, 46, 138)
HSLhsl(278, 50%, 36%)
HSVhsv(278, 67%, 54%)
CMYKcmyk(24.6%, 66.7%, 0%, 45.9%)
CIE-LABlab(31.19, 42.25, -40.69)
CIE-LCHlch(31.19, 58.66, 316.08°)
OKLaboklab(42.52% 0.0982 -0.1148)
OKLCHoklch(42.52% 0.151 310.5)
XYZxyz(11.2725, 6.7323, 24.7455)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E8A #508A2E
analogous
#3A2E8A #682E8A #8A2E7E
triadic
#682E8A #8A682E #2E8A68
tetradic
#682E8A #8A3A2E #508A2E #2E7E8A
square
#682E8A #8A3A2E #508A2E #2E7E8A
split-complementary
#682E8A #7E8A2E #2E8A3A
monochromatic
#230F2E #451F5C #682E8A #8B3DB8 #A666CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##682E8A#FFFFFF#000000##FFFFFF
##682E8A1.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)
#00478D
Deuteranopia (green-blind)
#234A88
Tritanopia (blue-blind)
#644158
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682e8a;
/* rgb */ color: rgb(104, 46, 138);
/* oklch */ color: oklch(42.5% 0.151 310.5);
Tailwind
colors: {
  custom: {
    50: '#966bad',
    500: '#682e8a',
    950: '#000000',
  },
}
SCSS
$custom: #682e8a;
$custom-light: #966bad;
$custom-dark: #000000;
JSON
{
  "hex": "#682e8a",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 277.826,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42518,
    "c": 0.15108,
    "h": 310.5
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#682E8A
secondary
#7FB361
accent
#DA4E82
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #682E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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