#682EA5#682EA5

#682EA5 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.181 H 301.6°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#682EA5
RGBrgb(104, 46, 165)
HSLhsl(269, 56%, 41%)
HSVhsv(269, 72%, 65%)
CMYKcmyk(37%, 72.1%, 0%, 35.3%)
CIE-LABlab(33.16, 48.80, -53.98)
CIE-LCHlch(33.16, 72.77, 312.12°)
OKLaboklab(44.56% 0.0948 -0.1538)
OKLCHoklch(44.56% 0.181 301.6)
XYZxyz(13.4758, 7.6136, 36.3496)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682EA5 #6BA52E
analogous
#2E30A5 #682EA5 #A42EA5
triadic
#682EA5 #A5682E #2EA568
tetradic
#682EA5 #A52E30 #6BA52E #2EA5A4
square
#682EA5 #A52E30 #6BA52E #2EA5A4
split-complementary
#682EA5 #A5A42E #30A52E
monochromatic
#2C1345 #4A2175 #682EA5 #8645CB #A575D8

Accessibility & contrast

On white

8.32
#682EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#682EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682EA5
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682EA5#FFFFFF#000000##FFFFFF
##682EA51.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#5B4B66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #682ea5;
/* rgb */ color: rgb(104, 46, 165);
/* oklch */ color: oklch(44.6% 0.181 301.6);
Tailwind
colors: {
  custom: {
    50: '#986cc1',
    500: '#682ea5',
    950: '#000000',
  },
}
SCSS
$custom: #682ea5;
$custom-light: #986cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#682ea5",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 269.244,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44555,
    "c": 0.18069,
    "h": 301.6
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#682EA5
secondary
#98C06F
accent
#E04896
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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