#682AAB#682AAB

#682AAB is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.6% C 0.192 H 300.5°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#682AAB
RGBrgb(104, 42, 171)
HSLhsl(269, 61%, 42%)
HSVhsv(269, 75%, 67%)
CMYKcmyk(39.2%, 75.4%, 0%, 32.9%)
CIE-LABlab(33.00, 52.11, -57.84)
CIE-LCHlch(33.00, 77.86, 312.02°)
OKLaboklab(44.59% 0.0974 -0.1652)
OKLCHoklch(44.59% 0.192 300.5)
XYZxyz(13.8858, 7.5391, 39.2438)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682AAB #6DAB2A
analogous
#2A2DAB #682AAB #A92AAB
triadic
#682AAB #AB682A #2AAB68
tetradic
#682AAB #AB2A2D #6DAB2A #2AABA9
square
#682AAB #AB2A2D #6DAB2A #2AABA9
split-complementary
#682AAB #ABA92A #2DAB2A
monochromatic
#2C1249 #4A1E7A #682AAB #8642D1 #A673DD

Accessibility & contrast

On white

8.37
#682AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#682AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682AAB
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682AAB#FFFFFF#000000##FFFFFF
##682AAB1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#594B69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #682aab;
/* rgb */ color: rgb(104, 42, 171);
/* oklch */ color: oklch(44.6% 0.192 300.5);
Tailwind
colors: {
  custom: {
    50: '#996ac5',
    500: '#682aab',
    950: '#000000',
  },
}
SCSS
$custom: #682aab;
$custom-light: #996ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#682aab",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 268.837,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44592,
    "c": 0.19173,
    "h": 300.5
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#682AAB
secondary
#9AC46D
accent
#E44497
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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