#682AA2#682AA2

#682AA2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.182 H 303.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#682AA2
RGBrgb(104, 42, 162)
HSLhsl(271, 59%, 40%)
HSVhsv(271, 74%, 64%)
CMYKcmyk(35.8%, 74.1%, 0%, 36.5%)
CIE-LABlab(32.27, 49.91, -53.61)
CIE-LCHlch(32.27, 73.25, 312.95°)
OKLaboklab(43.85% 0.0993 -0.1527)
OKLCHoklch(43.85% 0.182 303)
XYZxyz(13.0569, 7.2076, 34.8787)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682AA2 #64A22A
analogous
#2C2AA2 #682AA2 #A22AA0
triadic
#682AA2 #A2682A #2AA268
tetradic
#682AA2 #A22C2A #64A22A #2AA0A2
square
#682AA2 #A22C2A #64A22A #2AA0A2
split-complementary
#682AA2 #A0A22A #2AA22C
monochromatic
#2A1141 #491D71 #682AA2 #873DCD #A56DD9

Accessibility & contrast

On white

8.60
#682AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#682AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682AA2
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682AA2#FFFFFF#000000##FFFFFF
##682AA21.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#5C4864
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #682aa2;
/* rgb */ color: rgb(104, 42, 162);
/* oklch */ color: oklch(43.9% 0.182 303.0);
Tailwind
colors: {
  custom: {
    50: '#986abe',
    500: '#682aa2',
    950: '#000000',
  },
}
SCSS
$custom: #682aa2;
$custom-light: #986abe;
$custom-dark: #000000;
JSON
{
  "hex": "#682aa2",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 271,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.43851,
    "c": 0.18221,
    "h": 303
  },
  "luminance": 0.07208
}

Semantic roles & 50–950 ramp

primary
#682AA2
secondary
#92C068
accent
#E24691
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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