#682BA3#682BA3

#682BA3 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.182 H 302.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#682BA3
RGBrgb(104, 43, 163)
HSLhsl(271, 58%, 40%)
HSVhsv(271, 74%, 64%)
CMYKcmyk(36.2%, 73.6%, 0%, 36.1%)
CIE-LABlab(32.51, 49.70, -53.83)
CIE-LCHlch(32.51, 73.27, 312.72°)
OKLaboklab(44.04% 0.0982 -0.1534)
OKLCHoklch(44.04% 0.182 302.6)
XYZxyz(13.1821, 7.3151, 35.3607)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682BA3 #66A32B
analogous
#2C2BA3 #682BA3 #A32BA2
triadic
#682BA3 #A3682B #2BA368
tetradic
#682BA3 #A32C2B #66A32B #2BA2A3
square
#682BA3 #A32C2B #66A32B #2BA2A3
split-complementary
#682BA3 #A2A32B #2BA32C
monochromatic
#2A1142 #491E73 #682BA3 #873FCC #A56FD9

Accessibility & contrast

On white

8.53
#682BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#682BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682BA3
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682BA3#FFFFFF#000000##FFFFFF
##682BA31.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#5C4864
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #682ba3;
/* rgb */ color: rgb(104, 43, 163);
/* oklch */ color: oklch(44.0% 0.182 302.6);
Tailwind
colors: {
  custom: {
    50: '#986abf',
    500: '#682ba3',
    950: '#000000',
  },
}
SCSS
$custom: #682ba3;
$custom-light: #986abf;
$custom-dark: #000000;
JSON
{
  "hex": "#682ba3",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 270.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44044,
    "c": 0.18211,
    "h": 302.6
  },
  "luminance": 0.07315
}

Semantic roles & 50–950 ramp

primary
#682BA3
secondary
#94C06A
accent
#E14693
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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