#682CA3#682CA3

#682CA3 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.181 H 302.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#682CA3
RGBrgb(104, 44, 163)
HSLhsl(270, 57%, 41%)
HSVhsv(270, 73%, 64%)
CMYKcmyk(36.2%, 73%, 0%, 36.1%)
CIE-LABlab(32.68, 49.24, -53.56)
CIE-LCHlch(32.68, 72.76, 312.59°)
OKLaboklab(44.16% 0.0972 -0.1526)
OKLCHoklch(44.16% 0.181 302.5)
XYZxyz(13.2189, 7.3887, 35.3730)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682CA3 #67A32C
analogous
#2C2CA3 #682CA3 #A32CA2
triadic
#682CA3 #A3682C #2CA368
tetradic
#682CA3 #A32C2C #67A32C #2CA2A3
square
#682CA3 #A32C2C #67A32C #2CA2A3
split-complementary
#682CA3 #A2A32C #2CA32C
monochromatic
#2B1243 #491F73 #682CA3 #8741CC #A571D9

Accessibility & contrast

On white

8.48
#682CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#682CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682CA3
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682CA3#FFFFFF#000000##FFFFFF
##682CA31.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#5C4965
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #682ca3;
/* rgb */ color: rgb(104, 44, 163);
/* oklch */ color: oklch(44.2% 0.181 302.5);
Tailwind
colors: {
  custom: {
    50: '#986bbf',
    500: '#682ca3',
    950: '#000000',
  },
}
SCSS
$custom: #682ca3;
$custom-light: #986bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#682ca3",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 270.252,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44159,
    "c": 0.18093,
    "h": 302.5
  },
  "luminance": 0.07389
}

Semantic roles & 50–950 ramp

primary
#682CA3
secondary
#95C06B
accent
#E14793
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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