#682CAD#682CAD

#682CAD is a dark, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.192 H 299.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#682CAD
RGBrgb(104, 44, 173)
HSLhsl(268, 59%, 43%)
HSVhsv(268, 75%, 68%)
CMYKcmyk(39.9%, 74.6%, 0%, 32.2%)
CIE-LABlab(33.48, 51.72, -58.26)
CIE-LCHlch(33.48, 77.91, 311.60°)
OKLaboklab(44.98% 0.0951 -0.1664)
OKLCHoklch(44.98% 0.192 299.7)
XYZxyz(14.1505, 7.7614, 40.2796)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682CAD #71AD2C
analogous
#2C30AD #682CAD #A82CAD
triadic
#682CAD #AD682C #2CAD68
tetradic
#682CAD #AD2C30 #71AD2C #2CADA8
square
#682CAD #AD2C30 #71AD2C #2CADA8
split-complementary
#682CAD #ADA82C #30AD2C
monochromatic
#2D134B #4B207C #682CAD #8646D0 #A677DC

Accessibility & contrast

On white

8.23
#682CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#682CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682CAD
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682CAD#FFFFFF#000000##FFFFFF
##682CAD1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#584D6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #682cad;
/* rgb */ color: rgb(104, 44, 173);
/* oklch */ color: oklch(45.0% 0.192 299.7);
Tailwind
colors: {
  custom: {
    50: '#996bc6',
    500: '#682cad',
    950: '#000000',
  },
}
SCSS
$custom: #682cad;
$custom-light: #996bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#682cad",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 267.907,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44979,
    "c": 0.19166,
    "h": 299.7
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

primary
#682CAD
secondary
#9DC471
accent
#E34599
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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