#682F8D#682F8D

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

Color values

HEX#682F8D
RGBrgb(104, 47, 141)
HSLhsl(276, 50%, 37%)
HSVhsv(276, 67%, 55%)
CMYKcmyk(26.2%, 66.7%, 0%, 44.7%)
CIE-LABlab(31.58, 42.46, -41.92)
CIE-LCHlch(31.58, 59.67, 315.36°)
OKLaboklab(42.86% 0.0968 -0.1184)
OKLCHoklch(42.86% 0.153 309.3)
XYZxyz(11.5322, 6.8994, 25.9183)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F8D #548D2F
analogous
#392F8D #682F8D #8D2F83
triadic
#682F8D #8D682F #2F8D68
tetradic
#682F8D #8D392F #548D2F #2F838D
square
#682F8D #8D392F #548D2F #2F838D
split-complementary
#682F8D #838D2F #2F8D39
monochromatic
#241031 #46205F #682F8D #8A3EBB #A669CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##682F8D#FFFFFF#000000##FFFFFF
##682F8D1.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)
#004890
Deuteranopia (green-blind)
#204B8B
Tritanopia (blue-blind)
#63425A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682f8d;
/* rgb */ color: rgb(104, 47, 141);
/* oklch */ color: oklch(42.9% 0.153 309.3);
Tailwind
colors: {
  custom: {
    50: '#966caf',
    500: '#682f8d',
    950: '#000000',
  },
}
SCSS
$custom: #682f8d;
$custom-light: #966caf;
$custom-dark: #000000;
JSON
{
  "hex": "#682f8d",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 276.383,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42862,
    "c": 0.15294,
    "h": 309.3
  },
  "luminance": 0.06899
}

Semantic roles & 50–950 ramp

primary
#682F8D
secondary
#83B464
accent
#DA4E85
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #682F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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