#682CA6#682CA6

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

Color values

HEX#682CA6
RGBrgb(104, 44, 166)
HSLhsl(270, 58%, 41%)
HSVhsv(270, 73%, 65%)
CMYKcmyk(37.3%, 73.5%, 0%, 34.9%)
CIE-LABlab(32.91, 49.98, -54.99)
CIE-LCHlch(32.91, 74.31, 312.27°)
OKLaboklab(44.4% 0.0966 -0.1568)
OKLCHoklch(44.4% 0.184 301.6)
XYZxyz(13.4909, 7.4975, 36.8054)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682CA6 #6AA62C
analogous
#2C2DA6 #682CA6 #A52CA6
triadic
#682CA6 #A6682C #2CA668
tetradic
#682CA6 #A62C2D #6AA62C #2CA6A5
square
#682CA6 #A62C2D #6AA62C #2CA6A5
split-complementary
#682CA6 #A6A52C #2DA62C
monochromatic
#2B1245 #4A1F76 #682CA6 #8642CD #A573DA

Accessibility & contrast

On white

8.40
#682CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#682CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682CA6
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682CA6#FFFFFF#000000##FFFFFF
##682CA61.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#5B4A66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #682ca6;
/* rgb */ color: rgb(104, 44, 166);
/* oklch */ color: oklch(44.4% 0.184 301.6);
Tailwind
colors: {
  custom: {
    50: '#996bc1',
    500: '#682ca6',
    950: '#000000',
  },
}
SCSS
$custom: #682ca6;
$custom-light: #996bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#682ca6",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 269.508,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44402,
    "c": 0.18415,
    "h": 301.6
  },
  "luminance": 0.07498
}

Semantic roles & 50–950 ramp

primary
#682CA6
secondary
#98C16D
accent
#E14695
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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