#682DA1#682DA1

#682DA1 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.178 H 302.9°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#682DA1
RGBrgb(104, 45, 161)
HSLhsl(271, 56%, 40%)
HSVhsv(271, 72%, 63%)
CMYKcmyk(35.4%, 72%, 0%, 36.9%)
CIE-LABlab(32.69, 48.28, -52.34)
CIE-LCHlch(32.69, 71.21, 312.69°)
OKLaboklab(44.12% 0.0965 -0.149)
OKLCHoklch(44.12% 0.178 302.9)
XYZxyz(13.0788, 7.3930, 34.4493)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682DA1 #66A12D
analogous
#2E2DA1 #682DA1 #A12DA0
triadic
#682DA1 #A1682D #2DA168
tetradic
#682DA1 #A12E2D #66A12D #2DA0A1
square
#682DA1 #A12E2D #66A12D #2DA0A1
split-complementary
#682DA1 #A0A12D #2DA12E
monochromatic
#2A1241 #492071 #682DA1 #8741CA #A571D7

Accessibility & contrast

On white

8.47
#682DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#682DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682DA1
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682DA1#FFFFFF#000000##FFFFFF
##682DA11.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#5C4964
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #682da1;
/* rgb */ color: rgb(104, 45, 161);
/* oklch */ color: oklch(44.1% 0.178 302.9);
Tailwind
colors: {
  custom: {
    50: '#986bbe',
    500: '#682da1',
    950: '#000000',
  },
}
SCSS
$custom: #682da1;
$custom-light: #986bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#682da1",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 270.517,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44117,
    "c": 0.17756,
    "h": 302.9
  },
  "luminance": 0.07393
}

Semantic roles & 50–950 ramp

primary
#682DA1
secondary
#94BF6B
accent
#E04893
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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