#682EA6#682EA6

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

Color values

HEX#682EA6
RGBrgb(104, 46, 166)
HSLhsl(269, 57%, 42%)
HSVhsv(269, 72%, 65%)
CMYKcmyk(37.3%, 72.3%, 0%, 34.9%)
CIE-LABlab(33.24, 49.05, -54.45)
CIE-LCHlch(33.24, 73.29, 312.02°)
OKLaboklab(44.64% 0.0946 -0.1552)
OKLCHoklch(44.64% 0.182 301.4)
XYZxyz(13.5672, 7.6501, 36.8309)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682EA6 #6CA62E
analogous
#2E30A6 #682EA6 #A42EA6
triadic
#682EA6 #A6682E #2EA668
tetradic
#682EA6 #A62E30 #6CA62E #2EA6A4
square
#682EA6 #A62E30 #6CA62E #2EA6A4
split-complementary
#682EA6 #A6A42E #30A62E
monochromatic
#2C1346 #4A2176 #682EA6 #8646CC #A676D9

Accessibility & contrast

On white

8.30
#682EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#682EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682EA6
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682EA6#FFFFFF#000000##FFFFFF
##682EA61.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#5B4B67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #682ea6;
/* rgb */ color: rgb(104, 46, 166);
/* oklch */ color: oklch(44.6% 0.182 301.4);
Tailwind
colors: {
  custom: {
    50: '#996cc1',
    500: '#682ea6',
    950: '#000000',
  },
}
SCSS
$custom: #682ea6;
$custom-light: #996cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#682ea6",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 269,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44635,
    "c": 0.18178,
    "h": 301.4
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

primary
#682EA6
secondary
#99C16F
accent
#E04896
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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