#682C99#682C99

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

Color values

HEX#682C99
RGBrgb(104, 44, 153)
HSLhsl(273, 55%, 39%)
HSVhsv(273, 71%, 60%)
CMYKcmyk(32%, 71.2%, 0%, 40%)
CIE-LABlab(31.91, 46.80, -48.74)
CIE-LCHlch(31.91, 67.58, 313.84°)
OKLaboklab(43.37% 0.0989 -0.1384)
OKLCHoklch(43.37% 0.17 305.5)
XYZxyz(12.3581, 7.0444, 30.8395)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C99 #5D992C
analogous
#322C99 #682C99 #992C93
triadic
#682C99 #99682C #2C9968
tetradic
#682C99 #99322C #5D992C #2C9399
square
#682C99 #99322C #5D992C #2C9399
split-complementary
#682C99 #93992C #2C9932
monochromatic
#27113A #481E69 #682C99 #883BC7 #A56BD4

Accessibility & contrast

On white

8.72
#682C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682C99
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C99#FFFFFF#000000##FFFFFF
##682C991.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#5F455F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682c99;
/* rgb */ color: rgb(104, 44, 153);
/* oklch */ color: oklch(43.4% 0.170 305.5);
Tailwind
colors: {
  custom: {
    50: '#986ab8',
    500: '#682c99',
    950: '#000000',
  },
}
SCSS
$custom: #682c99;
$custom-light: #986ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#682c99",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 273.028,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43372,
    "c": 0.17015,
    "h": 305.5
  },
  "luminance": 0.07044
}

Semantic roles & 50–950 ramp

primary
#682C99
secondary
#8CBB66
accent
#DF498C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682C99

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

Preview Lab → · Contrast checker → · Palette generator →

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