#682A96#682A96

#682A96 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.169 H 306.8°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#682A96
RGBrgb(104, 42, 150)
HSLhsl(274, 56%, 38%)
HSVhsv(274, 72%, 59%)
CMYKcmyk(30.7%, 72%, 0%, 41.2%)
CIE-LABlab(31.35, 47.02, -47.82)
CIE-LCHlch(31.35, 67.06, 314.52°)
OKLaboklab(42.9% 0.1015 -0.1357)
OKLCHoklch(42.9% 0.169 306.8)
XYZxyz(12.0407, 6.8011, 29.5267)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A96 #58962A
analogous
#322A96 #682A96 #962A8E
triadic
#682A96 #96682A #2A9668
tetradic
#682A96 #96322A #58962A #2A8E96
square
#682A96 #96322A #58962A #2A8E96
split-complementary
#682A96 #8E962A #2A9632
monochromatic
#260F36 #471D66 #682A96 #8937C6 #A566D4

Accessibility & contrast

On white

8.90
#682A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#682A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A96
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A96#FFFFFF#000000##FFFFFF
##682A961.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#044A94
Tritanopia (blue-blind)
#60435D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682a96;
/* rgb */ color: rgb(104, 42, 150);
/* oklch */ color: oklch(42.9% 0.169 306.8);
Tailwind
colors: {
  custom: {
    50: '#9769b6',
    500: '#682a96',
    950: '#000000',
  },
}
SCSS
$custom: #682a96;
$custom-light: #9769b6;
$custom-dark: #000000;
JSON
{
  "hex": "#682a96",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 274.444,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42904,
    "c": 0.16947,
    "h": 306.8
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#682A96
secondary
#87BA61
accent
#E04889
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682A96

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

Preview Lab → · Contrast checker → · Palette generator →

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