#682C9C#682C9C

#682C9C is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.173 H 304.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#682C9C
RGBrgb(104, 44, 156)
HSLhsl(272, 56%, 39%)
HSVhsv(272, 72%, 61%)
CMYKcmyk(33.3%, 71.8%, 0%, 38.8%)
CIE-LABlab(32.13, 47.53, -50.20)
CIE-LCHlch(32.13, 69.13, 313.43°)
OKLaboklab(43.61% 0.0984 -0.1427)
OKLCHoklch(43.61% 0.173 304.6)
XYZxyz(12.6090, 7.1448, 32.1609)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C9C #609C2C
analogous
#302C9C #682C9C #9C2C98
triadic
#682C9C #9C682C #2C9C68
tetradic
#682C9C #9C302C #609C2C #2C989C
square
#682C9C #9C302C #609C2C #2C989C
split-complementary
#682C9C #989C2C #2C9C30
monochromatic
#28113D #481F6C #682C9C #883DC8 #A56DD6

Accessibility & contrast

On white

8.65
#682C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#682C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C9C
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C9C#FFFFFF#000000##FFFFFF
##682C9C1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682c9c;
/* rgb */ color: rgb(104, 44, 156);
/* oklch */ color: oklch(43.6% 0.173 304.6);
Tailwind
colors: {
  custom: {
    50: '#986aba',
    500: '#682c9c',
    950: '#000000',
  },
}
SCSS
$custom: #682c9c;
$custom-light: #986aba;
$custom-dark: #000000;
JSON
{
  "hex": "#682c9c",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 272.143,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43605,
    "c": 0.17338,
    "h": 304.6
  },
  "luminance": 0.07145
}

Semantic roles & 50–950 ramp

primary
#682C9C
secondary
#8FBD67
accent
#DF498F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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