#682A76#682A76

#682A76 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.7% C 0.136 H 319.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#682A76
RGBrgb(104, 42, 118)
HSLhsl(289, 48%, 31%)
HSVhsv(289, 64%, 46%)
CMYKcmyk(11.9%, 64.4%, 0%, 53.7%)
CIE-LABlab(29.18, 39.78, -31.38)
CIE-LCHlch(29.18, 50.67, 321.73°)
OKLaboklab(40.65% 0.1037 -0.0875)
OKLCHoklch(40.65% 0.136 319.8)
XYZxyz(9.8065, 5.9074, 17.7597)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A76 #38762A
analogous
#422A76 #682A76 #762A5E
triadic
#682A76 #76682A #2A7668
tetradic
#682A76 #76422A #38762A #2A5E76
square
#682A76 #76422A #38762A #2A5E76
split-complementary
#682A76 #5E762A #2A7642
monochromatic
#180A1C #401A49 #682A76 #903AA3 #AF57C3

Accessibility & contrast

On white

9.63
#682A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#682A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A76
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A76#FFFFFF#000000##FFFFFF
##682A761.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174078
Deuteranopia (green-blind)
#304774
Tritanopia (blue-blind)
#68364C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #682a76;
/* rgb */ color: rgb(104, 42, 118);
/* oklch */ color: oklch(40.7% 0.136 319.8);
Tailwind
colors: {
  custom: {
    50: '#96689e',
    500: '#682a76',
    950: '#000000',
  },
}
SCSS
$custom: #682a76;
$custom-light: #96689e;
$custom-dark: #000000;
JSON
{
  "hex": "#682a76",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 288.947,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40651,
    "c": 0.13575,
    "h": 319.8
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#682A76
secondary
#63A854
accent
#D75169
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #682A76

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

Preview Lab → · Contrast checker → · Palette generator →

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