#682A8A#682A8A

#682A8A is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.157 H 311.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#682A8A
RGBrgb(104, 42, 138)
HSLhsl(279, 53%, 35%)
HSVhsv(279, 70%, 54%)
CMYKcmyk(24.6%, 69.6%, 0%, 45.9%)
CIE-LABlab(30.48, 44.22, -41.83)
CIE-LCHlch(30.48, 60.86, 316.59°)
OKLaboklab(42.01% 0.103 -0.1181)
OKLCHoklch(42.01% 0.157 311.1)
XYZxyz(11.1235, 6.4342, 24.6958)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A8A #4C8A2A
analogous
#382A8A #682A8A #8A2A7C
triadic
#682A8A #8A682A #2A8A68
tetradic
#682A8A #8A382A #4C8A2A #2A7C8A
square
#682A8A #8A382A #4C8A2A #2A7C8A
split-complementary
#682A8A #7C8A2A #2A8A38
monochromatic
#210D2C #451C5B #682A8A #8B38B9 #A760CF

Accessibility & contrast

On white

9.18
#682A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#682A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A8A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A8A#FFFFFF#000000##FFFFFF
##682A8A1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682a8a;
/* rgb */ color: rgb(104, 42, 138);
/* oklch */ color: oklch(42.0% 0.157 311.1);
Tailwind
colors: {
  custom: {
    50: '#9769ad',
    500: '#682a8a',
    950: '#000000',
  },
}
SCSS
$custom: #682a8a;
$custom-light: #9769ad;
$custom-dark: #000000;
JSON
{
  "hex": "#682a8a",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 278.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4201,
    "c": 0.15672,
    "h": 311.1
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#682A8A
secondary
#7BB45B
accent
#DD4B7F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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