#682EA3#682EA3

#682EA3 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.179 H 302.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#682EA3
RGBrgb(104, 46, 163)
HSLhsl(270, 56%, 41%)
HSVhsv(270, 72%, 64%)
CMYKcmyk(36.2%, 71.8%, 0%, 36.1%)
CIE-LABlab(33.01, 48.31, -53.02)
CIE-LCHlch(33.01, 71.73, 312.33°)
OKLaboklab(44.4% 0.0951 -0.151)
OKLCHoklch(44.4% 0.179 302.2)
XYZxyz(13.2952, 7.5414, 35.3984)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682EA3 #69A32E
analogous
#2E2EA3 #682EA3 #A22EA3
triadic
#682EA3 #A3682E #2EA368
tetradic
#682EA3 #A32E2E #69A32E #2EA3A2
square
#682EA3 #A32E2E #69A32E #2EA3A2
split-complementary
#682EA3 #A3A22E #2EA32E
monochromatic
#2B1344 #4A2173 #682EA3 #8744CA #A574D8

Accessibility & contrast

On white

8.37
#682EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#682EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682EA3
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682EA3#FFFFFF#000000##FFFFFF
##682EA31.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#5C4A65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #682ea3;
/* rgb */ color: rgb(104, 46, 163);
/* oklch */ color: oklch(44.4% 0.179 302.2);
Tailwind
colors: {
  custom: {
    50: '#986cbf',
    500: '#682ea3',
    950: '#000000',
  },
}
SCSS
$custom: #682ea3;
$custom-light: #986cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#682ea3",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 269.744,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44395,
    "c": 0.17851,
    "h": 302.2
  },
  "luminance": 0.07541
}

Semantic roles & 50–950 ramp

primary
#682EA3
secondary
#97BF6D
accent
#DF4995
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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