#682C9D#682C9D

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

Color values

HEX#682C9D
RGBrgb(104, 44, 157)
HSLhsl(272, 56%, 39%)
HSVhsv(272, 72%, 62%)
CMYKcmyk(33.8%, 72%, 0%, 38.4%)
CIE-LABlab(32.21, 47.77, -50.69)
CIE-LCHlch(32.21, 69.65, 313.30°)
OKLaboklab(43.68% 0.0983 -0.1442)
OKLCHoklch(43.68% 0.174 304.3)
XYZxyz(12.6940, 7.1788, 32.6086)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C9D #619D2C
analogous
#2F2C9D #682C9D #9D2C9A
triadic
#682C9D #9D682C #2C9D68
tetradic
#682C9D #9D2F2C #619D2C #2C9A9D
square
#682C9D #9D2F2C #619D2C #2C9A9D
split-complementary
#682C9D #9A9D2C #2C9D2F
monochromatic
#29113D #481F6D #682C9D #873DC9 #A56DD6

Accessibility & contrast

On white

8.62
#682C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682C9D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C9D#FFFFFF#000000##FFFFFF
##682C9D1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682c9d;
/* rgb */ color: rgb(104, 44, 157);
/* oklch */ color: oklch(43.7% 0.174 304.3);
Tailwind
colors: {
  custom: {
    50: '#986abb',
    500: '#682c9d',
    950: '#000000',
  },
}
SCSS
$custom: #682c9d;
$custom-light: #986abb;
$custom-dark: #000000;
JSON
{
  "hex": "#682c9d",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 271.858,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43683,
    "c": 0.17446,
    "h": 304.3
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

primary
#682C9D
secondary
#90BD68
accent
#E0488F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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