#682FA1#682FA1

#682FA1 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.175 H 302.6°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#682FA1
RGBrgb(104, 47, 161)
HSLhsl(270, 55%, 41%)
HSVhsv(270, 71%, 63%)
CMYKcmyk(35.4%, 70.8%, 0%, 36.9%)
CIE-LABlab(33.03, 47.33, -51.79)
CIE-LCHlch(33.03, 70.16, 312.42°)
OKLaboklab(44.36% 0.0944 -0.1474)
OKLCHoklch(44.36% 0.175 302.6)
XYZxyz(13.1569, 7.5493, 34.4753)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682FA1 #68A12F
analogous
#2F2FA1 #682FA1 #A12FA1
triadic
#682FA1 #A1682F #2FA168
tetradic
#682FA1 #A12F2F #68A12F #2FA1A1
square
#682FA1 #A12F2F #68A12F #2FA1A1
split-complementary
#682FA1 #A1A12F #2FA12F
monochromatic
#2B1342 #492172 #682FA1 #8745C9 #A574D6

Accessibility & contrast

On white

8.37
#682FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#682FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682FA1
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682FA1#FFFFFF#000000##FFFFFF
##682FA11.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#5C4A64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #682fa1;
/* rgb */ color: rgb(104, 47, 161);
/* oklch */ color: oklch(44.4% 0.175 302.6);
Tailwind
colors: {
  custom: {
    50: '#986cbe',
    500: '#682fa1',
    950: '#000000',
  },
}
SCSS
$custom: #682fa1;
$custom-light: #986cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#682fa1",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 270,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44359,
    "c": 0.17507,
    "h": 302.6
  },
  "luminance": 0.07549
}

Semantic roles & 50–950 ramp

primary
#682FA1
secondary
#96BE6E
accent
#DE4A94
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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