#682AA5#682AA5

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

Color values

HEX#682AA5
RGBrgb(104, 42, 165)
HSLhsl(270, 59%, 41%)
HSVhsv(270, 75%, 65%)
CMYKcmyk(37%, 74.5%, 0%, 35.3%)
CIE-LABlab(32.51, 50.64, -55.03)
CIE-LCHlch(32.51, 74.79, 312.62°)
OKLaboklab(44.1% 0.0987 -0.1569)
OKLCHoklch(44.1% 0.185 302.2)
XYZxyz(13.3268, 7.3156, 36.3000)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682AA5 #67A52A
analogous
#2B2AA5 #682AA5 #A52AA4
triadic
#682AA5 #A5682A #2AA568
tetradic
#682AA5 #A52B2A #67A52A #2AA4A5
square
#682AA5 #A52B2A #67A52A #2AA4A5
split-complementary
#682AA5 #A4A52A #2AA52B
monochromatic
#2B1143 #491E74 #682AA5 #873ECE #A56FDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##682AA5#FFFFFF#000000##FFFFFF
##682AA51.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)
#004CA9
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#5B4965
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #682aa5;
/* rgb */ color: rgb(104, 42, 165);
/* oklch */ color: oklch(44.1% 0.185 302.2);
Tailwind
colors: {
  custom: {
    50: '#996ac1',
    500: '#682aa5',
    950: '#000000',
  },
}
SCSS
$custom: #682aa5;
$custom-light: #996ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#682aa5",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 270.244,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44095,
    "c": 0.18538,
    "h": 302.2
  },
  "luminance": 0.07316
}

Semantic roles & 50–950 ramp

primary
#682AA5
secondary
#95C169
accent
#E34593
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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