#682AA9#682AA9

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

Color values

HEX#682AA9
RGBrgb(104, 42, 169)
HSLhsl(269, 60%, 41%)
HSVhsv(269, 75%, 66%)
CMYKcmyk(38.5%, 75.1%, 0%, 33.7%)
CIE-LABlab(32.84, 51.62, -56.91)
CIE-LCHlch(32.84, 76.83, 312.21°)
OKLaboklab(44.43% 0.0978 -0.1624)
OKLCHoklch(44.43% 0.19 301.1)
XYZxyz(13.6966, 7.4635, 38.2474)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682AA9 #6BA92A
analogous
#2A2CA9 #682AA9 #A82AA9
triadic
#682AA9 #A9682A #2AA968
tetradic
#682AA9 #A92A2C #6BA92A #2AA9A8
square
#682AA9 #A92A2C #6BA92A #2AA9A8
split-complementary
#682AA9 #A9A82A #2CA92A
monochromatic
#2C1247 #4A1E78 #682AA9 #8641D0 #A572DC

Accessibility & contrast

On white

8.42
#682AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#682AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682AA9
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682AA9#FFFFFF#000000##FFFFFF
##682AA91.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#5A4A68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #682aa9;
/* rgb */ color: rgb(104, 42, 169);
/* oklch */ color: oklch(44.4% 0.190 301.1);
Tailwind
colors: {
  custom: {
    50: '#996ac3',
    500: '#682aa9',
    950: '#000000',
  },
}
SCSS
$custom: #682aa9;
$custom-light: #996ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#682aa9",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 269.291,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44425,
    "c": 0.18962,
    "h": 301.1
  },
  "luminance": 0.07464
}

Semantic roles & 50–950 ramp

primary
#682AA9
secondary
#98C36C
accent
#E34496
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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