#682AA0#682AA0

#682AA0 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.180 H 303.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#682AA0
RGBrgb(104, 42, 160)
HSLhsl(272, 58%, 40%)
HSVhsv(272, 74%, 63%)
CMYKcmyk(35%, 73.8%, 0%, 37.3%)
CIE-LABlab(32.12, 49.42, -52.66)
CIE-LCHlch(32.12, 72.22, 313.18°)
OKLaboklab(43.69% 0.0997 -0.1499)
OKLCHoklch(43.69% 0.18 303.6)
XYZxyz(12.8806, 7.1371, 33.9499)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682AA0 #62A02A
analogous
#2D2AA0 #682AA0 #A02A9D
triadic
#682AA0 #A0682A #2AA068
tetradic
#682AA0 #A02D2A #62A02A #2A9DA0
square
#682AA0 #A02D2A #62A02A #2A9DA0
split-complementary
#682AA0 #9DA02A #2AA02D
monochromatic
#29113F #481D70 #682AA0 #873CCC #A56CD8

Accessibility & contrast

On white

8.65
#682AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#682AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682AA0
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682AA0#FFFFFF#000000##FFFFFF
##682AA01.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#5D4763
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #682aa0;
/* rgb */ color: rgb(104, 42, 160);
/* oklch */ color: oklch(43.7% 0.180 303.6);
Tailwind
colors: {
  custom: {
    50: '#986abd',
    500: '#682aa0',
    950: '#000000',
  },
}
SCSS
$custom: #682aa0;
$custom-light: #986abd;
$custom-dark: #000000;
JSON
{
  "hex": "#682aa0",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 271.525,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43689,
    "c": 0.18009,
    "h": 303.6
  },
  "luminance": 0.07137
}

Semantic roles & 50–950 ramp

primary
#682AA0
secondary
#91BF67
accent
#E24690
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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