#682B97#682B97

#682B97 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.169 H 306.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#682B97
RGBrgb(104, 43, 151)
HSLhsl(274, 56%, 38%)
HSVhsv(274, 72%, 59%)
CMYKcmyk(31.1%, 71.5%, 0%, 40.8%)
CIE-LABlab(31.59, 46.79, -48.04)
CIE-LCHlch(31.59, 67.06, 314.25°)
OKLaboklab(43.1% 0.1003 -0.1364)
OKLCHoklch(43.1% 0.169 306.3)
XYZxyz(12.1575, 6.9053, 29.9645)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682B97 #5A972B
analogous
#322B97 #682B97 #972B90
triadic
#682B97 #97682B #2B9768
tetradic
#682B97 #97322B #5A972B #2B9097
square
#682B97 #97322B #5A972B #2B9097
split-complementary
#682B97 #90972B #2B9732
monochromatic
#261038 #471D67 #682B97 #8939C7 #A568D4

Accessibility & contrast

On white

8.82
#682B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#682B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682B97
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682B97#FFFFFF#000000##FFFFFF
##682B971.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#044B95
Tritanopia (blue-blind)
#60445E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682b97;
/* rgb */ color: rgb(104, 43, 151);
/* oklch */ color: oklch(43.1% 0.169 306.3);
Tailwind
colors: {
  custom: {
    50: '#976ab6',
    500: '#682b97',
    950: '#000000',
  },
}
SCSS
$custom: #682b97;
$custom-light: #976ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#682b97",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 273.889,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43099,
    "c": 0.16927,
    "h": 306.3
  },
  "luminance": 0.06905
}

Semantic roles & 50–950 ramp

primary
#682B97
secondary
#89BB63
accent
#DF498A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682B97

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

Preview Lab → · Contrast checker → · Palette generator →

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