#682A89#682A89

#682A89 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.156 H 311.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#682A89
RGBrgb(104, 42, 137)
HSLhsl(279, 53%, 35%)
HSVhsv(279, 69%, 54%)
CMYKcmyk(24.1%, 69.3%, 0%, 46.3%)
CIE-LABlab(30.41, 43.98, -41.32)
CIE-LCHlch(30.41, 60.35, 316.79°)
OKLaboklab(41.94% 0.1031 -0.1166)
OKLCHoklch(41.94% 0.156 311.5)
XYZxyz(11.0514, 6.4054, 24.3163)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A89 #4B892A
analogous
#382A89 #682A89 #892A7A
triadic
#682A89 #89682A #2A8968
tetradic
#682A89 #89382A #4B892A #2A7A89
square
#682A89 #89382A #4B892A #2A7A89
split-complementary
#682A89 #7A892A #2A8938
monochromatic
#210D2B #441C5A #682A89 #8C38B8 #A85FCE

Accessibility & contrast

On white

9.21
#682A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#682A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A89
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A89#FFFFFF#000000##FFFFFF
##682A891.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#1F4987
Tritanopia (blue-blind)
#643E56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682a89;
/* rgb */ color: rgb(104, 42, 137);
/* oklch */ color: oklch(41.9% 0.156 311.5);
Tailwind
colors: {
  custom: {
    50: '#9669ac',
    500: '#682a89',
    950: '#000000',
  },
}
SCSS
$custom: #682a89;
$custom-light: #9669ac;
$custom-dark: #000000;
JSON
{
  "hex": "#682a89",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 279.158,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41938,
    "c": 0.15565,
    "h": 311.5
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#682A89
secondary
#7AB45B
accent
#DC4B7E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682A89

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

Preview Lab → · Contrast checker → · Palette generator →

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