#682AA6#682AA6

#682AA6 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.186 H 301.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#682AA6
RGBrgb(104, 42, 166)
HSLhsl(270, 60%, 41%)
HSVhsv(270, 75%, 65%)
CMYKcmyk(37.3%, 74.7%, 0%, 34.9%)
CIE-LABlab(32.60, 50.89, -55.50)
CIE-LCHlch(32.60, 75.30, 312.51°)
OKLaboklab(44.18% 0.0985 -0.1583)
OKLCHoklch(44.18% 0.186 301.9)
XYZxyz(13.4182, 7.3521, 36.7812)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682AA6 #68A62A
analogous
#2A2AA6 #682AA6 #A62AA6
triadic
#682AA6 #A6682A #2AA668
tetradic
#682AA6 #A62A2A #68A62A #2AA6A6
square
#682AA6 #A62A2A #68A62A #2AA6A6
split-complementary
#682AA6 #A6A62A #2AA62A
monochromatic
#2B1144 #491E75 #682AA6 #873FCE #A570DB

Accessibility & contrast

On white

8.50
#682AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#682AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682AA6
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682AA6#FFFFFF#000000##FFFFFF
##682AA61.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#5B4966
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #682aa6;
/* rgb */ color: rgb(104, 42, 166);
/* oklch */ color: oklch(44.2% 0.186 301.9);
Tailwind
colors: {
  custom: {
    50: '#996ac1',
    500: '#682aa6',
    950: '#000000',
  },
}
SCSS
$custom: #682aa6;
$custom-light: #996ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#682aa6",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 270,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44177,
    "c": 0.18645,
    "h": 301.9
  },
  "luminance": 0.07352
}

Semantic roles & 50–950 ramp

primary
#682AA6
secondary
#96C26A
accent
#E34594
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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