#682C9B#682C9B

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

Color values

HEX#682C9B
RGBrgb(104, 44, 155)
HSLhsl(272, 56%, 39%)
HSVhsv(272, 72%, 61%)
CMYKcmyk(32.9%, 71.6%, 0%, 39.2%)
CIE-LABlab(32.06, 47.29, -49.72)
CIE-LCHlch(32.06, 68.62, 313.56°)
OKLaboklab(43.53% 0.0986 -0.1413)
OKLCHoklch(43.53% 0.172 304.9)
XYZxyz(12.5247, 7.1110, 31.7167)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C9B #5F9B2C
analogous
#302C9B #682C9B #9B2C97
triadic
#682C9B #9B682C #2C9B68
tetradic
#682C9B #9B302C #5F9B2C #2C979B
square
#682C9B #9B302C #5F9B2C #2C979B
split-complementary
#682C9B #979B2C #2C9B30
monochromatic
#28113C #481E6B #682C9B #883CC8 #A56CD5

Accessibility & contrast

On white

8.67
#682C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682C9B
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C9B#FFFFFF#000000##FFFFFF
##682C9B1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#5F4660
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682c9b;
/* rgb */ color: rgb(104, 44, 155);
/* oklch */ color: oklch(43.5% 0.172 304.9);
Tailwind
colors: {
  custom: {
    50: '#986ab9',
    500: '#682c9b',
    950: '#000000',
  },
}
SCSS
$custom: #682c9b;
$custom-light: #986ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#682c9b",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 155
  },
  "hsl": {
    "h": 272.432,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43527,
    "c": 0.1723,
    "h": 304.9
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#682C9B
secondary
#8EBC67
accent
#DF498E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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