#682BA0#682BA0

#682BA0 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.179 H 303.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#682BA0
RGBrgb(104, 43, 160)
HSLhsl(271, 58%, 40%)
HSVhsv(271, 73%, 63%)
CMYKcmyk(35%, 73.1%, 0%, 37.3%)
CIE-LABlab(32.28, 48.97, -52.40)
CIE-LCHlch(32.28, 71.72, 313.06°)
OKLaboklab(43.8% 0.0987 -0.1492)
OKLCHoklch(43.8% 0.179 303.5)
XYZxyz(12.9165, 7.2089, 33.9619)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682BA0 #63A02B
analogous
#2E2BA0 #682BA0 #A02B9D
triadic
#682BA0 #A0682B #2BA068
tetradic
#682BA0 #A02E2B #63A02B #2B9DA0
square
#682BA0 #A02E2B #63A02B #2B9DA0
split-complementary
#682BA0 #9DA02B #2BA02E
monochromatic
#291140 #491E70 #682BA0 #873DCB #A56ED8

Accessibility & contrast

On white

8.60
#682BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#682BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682BA0
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682BA0#FFFFFF#000000##FFFFFF
##682BA01.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#5D4763
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #682ba0;
/* rgb */ color: rgb(104, 43, 160);
/* oklch */ color: oklch(43.8% 0.179 303.5);
Tailwind
colors: {
  custom: {
    50: '#986abd',
    500: '#682ba0',
    950: '#000000',
  },
}
SCSS
$custom: #682ba0;
$custom-light: #986abd;
$custom-dark: #000000;
JSON
{
  "hex": "#682ba0",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 271.282,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43803,
    "c": 0.1789,
    "h": 303.5
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#682BA0
secondary
#92BF68
accent
#E14791
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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