#682A9C#682A9C

#682A9C is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.176 H 304.9°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#682A9C
RGBrgb(104, 42, 156)
HSLhsl(273, 58%, 39%)
HSVhsv(273, 73%, 61%)
CMYKcmyk(33.3%, 73.1%, 0%, 38.8%)
CIE-LABlab(31.81, 48.46, -50.74)
CIE-LCHlch(31.81, 70.16, 313.68°)
OKLaboklab(43.37% 0.1005 -0.1443)
OKLCHoklch(43.37% 0.176 304.9)
XYZxyz(12.5363, 6.9994, 32.1366)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A9C #5E9C2A
analogous
#2F2A9C #682A9C #9C2A97
triadic
#682A9C #9C682A #2A9C68
tetradic
#682A9C #9C2F2A #5E9C2A #2A979C
square
#682A9C #9C2F2A #5E9C2A #2A979C
split-complementary
#682A9C #979C2A #2A9C2F
monochromatic
#28103C #481D6C #682A9C #8839CA #A56AD7

Accessibility & contrast

On white

8.75
#682A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#682A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A9C
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A9C#FFFFFF#000000##FFFFFF
##682A9C1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#5E4560
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682a9c;
/* rgb */ color: rgb(104, 42, 156);
/* oklch */ color: oklch(43.4% 0.176 304.9);
Tailwind
colors: {
  custom: {
    50: '#9869ba',
    500: '#682a9c',
    950: '#000000',
  },
}
SCSS
$custom: #682a9c;
$custom-light: #9869ba;
$custom-dark: #000000;
JSON
{
  "hex": "#682a9c",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 272.632,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43371,
    "c": 0.17584,
    "h": 304.9
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#682A9C
secondary
#8DBD65
accent
#E1478D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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