#682C9A#682C9A

#682C9A is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.171 H 305.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#682C9A
RGBrgb(104, 44, 154)
HSLhsl(273, 56%, 39%)
HSVhsv(273, 71%, 60%)
CMYKcmyk(32.5%, 71.4%, 0%, 39.6%)
CIE-LABlab(31.98, 47.05, -49.23)
CIE-LCHlch(31.98, 68.10, 313.70°)
OKLaboklab(43.45% 0.0987 -0.1399)
OKLCHoklch(43.45% 0.171 305.2)
XYZxyz(12.4410, 7.0776, 31.2763)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C9A #5E9A2C
analogous
#312C9A #682C9A #9A2C95
triadic
#682C9A #9A682C #2C9A68
tetradic
#682C9A #9A312C #5E9A2C #2C959A
square
#682C9A #9A312C #5E9A2C #2C959A
split-complementary
#682C9A #959A2C #2C9A31
monochromatic
#28113B #481E6A #682C9A #883CC7 #A56CD5

Accessibility & contrast

On white

8.69
#682C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682C9A
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C9A#FFFFFF#000000##FFFFFF
##682C9A1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#5F4560
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682c9a;
/* rgb */ color: rgb(104, 44, 154);
/* oklch */ color: oklch(43.4% 0.171 305.2);
Tailwind
colors: {
  custom: {
    50: '#986ab8',
    500: '#682c9a',
    950: '#000000',
  },
}
SCSS
$custom: #682c9a;
$custom-light: #986ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#682c9a",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 272.727,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43449,
    "c": 0.17122,
    "h": 305.2
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#682C9A
secondary
#8DBC66
accent
#DF498D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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