#682A9D#682A9D

#682A9D is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.177 H 304.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#682A9D
RGBrgb(104, 42, 157)
HSLhsl(272, 58%, 39%)
HSVhsv(272, 73%, 62%)
CMYKcmyk(33.8%, 73.2%, 0%, 38.4%)
CIE-LABlab(31.88, 48.70, -51.22)
CIE-LCHlch(31.88, 70.67, 313.55°)
OKLaboklab(43.45% 0.1003 -0.1457)
OKLCHoklch(43.45% 0.177 304.5)
XYZxyz(12.6213, 7.0334, 32.5844)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A9D #5F9D2A
analogous
#2F2A9D #682A9D #9D2A99
triadic
#682A9D #9D682A #2A9D68
tetradic
#682A9D #9D2F2A #5F9D2A #2A999D
square
#682A9D #9D2F2A #5F9D2A #2A999D
split-complementary
#682A9D #999D2A #2A9D2F
monochromatic
#28103C #481D6D #682A9D #883ACA #A56AD7

Accessibility & contrast

On white

8.73
#682A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#682A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A9D
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A9D#FFFFFF#000000##FFFFFF
##682A9D1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#5E4661
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682a9d;
/* rgb */ color: rgb(104, 42, 157);
/* oklch */ color: oklch(43.5% 0.177 304.5);
Tailwind
colors: {
  custom: {
    50: '#9869bb',
    500: '#682a9d',
    950: '#000000',
  },
}
SCSS
$custom: #682a9d;
$custom-light: #9869bb;
$custom-dark: #000000;
JSON
{
  "hex": "#682a9d",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 272.348,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4345,
    "c": 0.1769,
    "h": 304.5
  },
  "luminance": 0.07033
}

Semantic roles & 50–950 ramp

primary
#682A9D
secondary
#8EBE65
accent
#E1478E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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