#682A9F#682A9F

#682A9F is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.179 H 303.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#682A9F
RGBrgb(104, 42, 159)
HSLhsl(272, 58%, 39%)
HSVhsv(272, 74%, 62%)
CMYKcmyk(34.6%, 73.6%, 0%, 37.6%)
CIE-LABlab(32.04, 49.18, -52.18)
CIE-LCHlch(32.04, 71.71, 313.31°)
OKLaboklab(43.61% 0.0999 -0.1485)
OKLCHoklch(43.61% 0.179 303.9)
XYZxyz(12.7935, 7.1022, 33.4910)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A9F #619F2A
analogous
#2E2A9F #682A9F #9F2A9C
triadic
#682A9F #9F682A #2A9F68
tetradic
#682A9F #9F2E2A #619F2A #2A9C9F
square
#682A9F #9F2E2A #619F2A #2A9C9F
split-complementary
#682A9F #9C9F2A #2A9F2E
monochromatic
#29103E #481D6F #682A9F #873BCB #A56BD8

Accessibility & contrast

On white

8.68
#682A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#682A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A9F
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A9F#FFFFFF#000000##FFFFFF
##682A9F1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#5D4662
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682a9f;
/* rgb */ color: rgb(104, 42, 159);
/* oklch */ color: oklch(43.6% 0.179 303.9);
Tailwind
colors: {
  custom: {
    50: '#9869bc',
    500: '#682a9f',
    950: '#000000',
  },
}
SCSS
$custom: #682a9f;
$custom-light: #9869bc;
$custom-dark: #000000;
JSON
{
  "hex": "#682a9f",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 271.795,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43609,
    "c": 0.17903,
    "h": 303.9
  },
  "luminance": 0.07102
}

Semantic roles & 50–950 ramp

primary
#682A9F
secondary
#90BF66
accent
#E1468F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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