#682D99#682D99

#682D99 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.169 H 305.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#682D99
RGBrgb(104, 45, 153)
HSLhsl(273, 55%, 39%)
HSVhsv(273, 71%, 60%)
CMYKcmyk(32%, 70.6%, 0%, 40%)
CIE-LABlab(32.08, 46.33, -48.47)
CIE-LCHlch(32.08, 67.05, 313.71°)
OKLaboklab(43.49% 0.0978 -0.1376)
OKLCHoklch(43.49% 0.169 305.4)
XYZxyz(12.3958, 7.1198, 30.8520)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682D99 #5E992D
analogous
#322D99 #682D99 #992D94
triadic
#682D99 #99682D #2D9968
tetradic
#682D99 #99322D #5E992D #2D9499
square
#682D99 #99322D #5E992D #2D9499
split-complementary
#682D99 #94992D #2D9932
monochromatic
#28113A #481F6A #682D99 #883DC6 #A56CD4

Accessibility & contrast

On white

8.66
#682D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682D99
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682D99#FFFFFF#000000##FFFFFF
##682D991.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#034C97
Tritanopia (blue-blind)
#5F465F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682d99;
/* rgb */ color: rgb(104, 45, 153);
/* oklch */ color: oklch(43.5% 0.169 305.4);
Tailwind
colors: {
  custom: {
    50: '#976bb8',
    500: '#682d99',
    950: '#000000',
  },
}
SCSS
$custom: #682d99;
$custom-light: #976bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#682d99",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 272.778,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43494,
    "c": 0.16886,
    "h": 305.4
  },
  "luminance": 0.0712
}

Semantic roles & 50–950 ramp

primary
#682D99
secondary
#8DBB67
accent
#DE4A8D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682D99

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

Preview Lab → · Contrast checker → · Palette generator →

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