#682CAA#682CAA

#682CAA is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.188 H 300.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#682CAA
RGBrgb(104, 44, 170)
HSLhsl(269, 59%, 42%)
HSVhsv(269, 74%, 67%)
CMYKcmyk(38.8%, 74.1%, 0%, 33.3%)
CIE-LABlab(33.24, 50.97, -56.86)
CIE-LCHlch(33.24, 76.37, 311.87°)
OKLaboklab(44.73% 0.0957 -0.1623)
OKLCHoklch(44.73% 0.188 300.5)
XYZxyz(13.8635, 7.6466, 38.7680)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682CAA #6EAA2C
analogous
#2C2FAA #682CAA #A72CAA
triadic
#682CAA #AA682C #2CAA68
tetradic
#682CAA #AA2C2F #6EAA2C #2CAAA7
square
#682CAA #AA2C2F #6EAA2C #2CAAA7
split-complementary
#682CAA #AAA72C #2FAA2C
monochromatic
#2D1349 #4A1F79 #682CAA #8644CF #A675DB

Accessibility & contrast

On white

8.30
#682CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#682CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682CAA
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682CAA#FFFFFF#000000##FFFFFF
##682CAA1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#594C69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #682caa;
/* rgb */ color: rgb(104, 44, 170);
/* oklch */ color: oklch(44.7% 0.188 300.5);
Tailwind
colors: {
  custom: {
    50: '#996bc4',
    500: '#682caa',
    950: '#000000',
  },
}
SCSS
$custom: #682caa;
$custom-light: #996bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#682caa",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 268.571,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4473,
    "c": 0.18845,
    "h": 300.5
  },
  "luminance": 0.07647
}

Semantic roles & 50–950 ramp

primary
#682CAA
secondary
#9BC36F
accent
#E24698
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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