#682AA3#682AA3

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

Color values

HEX#682AA3
RGBrgb(104, 42, 163)
HSLhsl(271, 59%, 40%)
HSVhsv(271, 74%, 64%)
CMYKcmyk(36.2%, 74.2%, 0%, 36.1%)
CIE-LABlab(32.35, 50.15, -54.09)
CIE-LCHlch(32.35, 73.76, 312.84°)
OKLaboklab(43.93% 0.0991 -0.1541)
OKLCHoklch(43.93% 0.183 302.7)
XYZxyz(13.1462, 7.2433, 35.3487)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682AA3 #65A32A
analogous
#2C2AA3 #682AA3 #A32AA1
triadic
#682AA3 #A3682A #2AA368
tetradic
#682AA3 #A32C2A #65A32A #2AA1A3
square
#682AA3 #A32C2A #65A32A #2AA1A3
split-complementary
#682AA3 #A1A32A #2AA32C
monochromatic
#2A1142 #491D72 #682AA3 #873DCD #A56EDA

Accessibility & contrast

On white

8.58
#682AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#682AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682AA3
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682AA3#FFFFFF#000000##FFFFFF
##682AA31.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682aa3;
/* rgb */ color: rgb(104, 42, 163);
/* oklch */ color: oklch(43.9% 0.183 302.7);
Tailwind
colors: {
  custom: {
    50: '#996abf',
    500: '#682aa3',
    950: '#000000',
  },
}
SCSS
$custom: #682aa3;
$custom-light: #996abf;
$custom-dark: #000000;
JSON
{
  "hex": "#682aa3",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 270.744,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43932,
    "c": 0.18326,
    "h": 302.7
  },
  "luminance": 0.07243
}

Semantic roles & 50–950 ramp

primary
#682AA3
secondary
#93C068
accent
#E24692
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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