#682D9C#682D9C

#682D9C is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.172 H 304.4°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#682D9C
RGBrgb(104, 45, 156)
HSLhsl(272, 55%, 39%)
HSVhsv(272, 71%, 61%)
CMYKcmyk(33.3%, 71.2%, 0%, 38.8%)
CIE-LABlab(32.30, 47.06, -49.93)
CIE-LCHlch(32.30, 68.61, 313.30°)
OKLaboklab(43.73% 0.0974 -0.1419)
OKLCHoklch(43.73% 0.172 304.4)
XYZxyz(12.6467, 7.2202, 32.1734)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682D9C #619C2D
analogous
#312D9C #682D9C #9C2D99
triadic
#682D9C #9C682D #2D9C68
tetradic
#682D9C #9C312D #619C2D #2D999C
square
#682D9C #9C312D #619C2D #2D999C
split-complementary
#682D9C #999C2D #2D9C31
monochromatic
#29123D #481F6D #682D9C #873FC8 #A56ED5

Accessibility & contrast

On white

8.59
#682D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#682D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682D9C
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682D9C#FFFFFF#000000##FFFFFF
##682D9C1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#5E4761
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #682d9c;
/* rgb */ color: rgb(104, 45, 156);
/* oklch */ color: oklch(43.7% 0.172 304.4);
Tailwind
colors: {
  custom: {
    50: '#986bba',
    500: '#682d9c',
    950: '#000000',
  },
}
SCSS
$custom: #682d9c;
$custom-light: #986bba;
$custom-dark: #000000;
JSON
{
  "hex": "#682d9c",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 271.892,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43725,
    "c": 0.17212,
    "h": 304.4
  },
  "luminance": 0.0722
}

Semantic roles & 50–950 ramp

primary
#682D9C
secondary
#90BC68
accent
#DF498F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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