#682EA0#682EA0

#682EA0 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.175 H 303.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#682EA0
RGBrgb(104, 46, 160)
HSLhsl(271, 55%, 40%)
HSVhsv(271, 71%, 63%)
CMYKcmyk(35%, 71.2%, 0%, 37.3%)
CIE-LABlab(32.78, 47.56, -51.59)
CIE-LCHlch(32.78, 70.17, 312.68°)
OKLaboklab(44.16% 0.0957 -0.1468)
OKLCHoklch(44.16% 0.175 303.1)
XYZxyz(13.0296, 7.4351, 33.9996)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682EA0 #66A02E
analogous
#2F2EA0 #682EA0 #A02E9F
triadic
#682EA0 #A0682E #2EA068
tetradic
#682EA0 #A02F2E #66A02E #2E9FA0
square
#682EA0 #A02F2E #66A02E #2E9FA0
split-complementary
#682EA0 #9FA02E #2EA02F
monochromatic
#2A1341 #492070 #682EA0 #8742C9 #A572D6

Accessibility & contrast

On white

8.44
#682EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#682EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682EA0
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682EA0#FFFFFF#000000##FFFFFF
##682EA01.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#5D4964
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #682ea0;
/* rgb */ color: rgb(104, 46, 160);
/* oklch */ color: oklch(44.2% 0.175 303.1);
Tailwind
colors: {
  custom: {
    50: '#986cbd',
    500: '#682ea0',
    950: '#000000',
  },
}
SCSS
$custom: #682ea0;
$custom-light: #986cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#682ea0",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 270.526,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44158,
    "c": 0.17523,
    "h": 303.1
  },
  "luminance": 0.07435
}

Semantic roles & 50–950 ramp

primary
#682EA0
secondary
#94BE6C
accent
#DF4993
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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