#682CA9#682CA9

#682CA9 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.187 H 300.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#682CA9
RGBrgb(104, 44, 169)
HSLhsl(269, 59%, 42%)
HSVhsv(269, 74%, 66%)
CMYKcmyk(38.5%, 74%, 0%, 33.7%)
CIE-LABlab(33.15, 50.73, -56.40)
CIE-LCHlch(33.15, 75.85, 311.97°)
OKLaboklab(44.65% 0.0959 -0.1609)
OKLCHoklch(44.65% 0.187 300.8)
XYZxyz(13.7693, 7.6089, 38.2717)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682CA9 #6DA92C
analogous
#2C2FA9 #682CA9 #A72CA9
triadic
#682CA9 #A9682C #2CA968
tetradic
#682CA9 #A92C2F #6DA92C #2CA9A7
square
#682CA9 #A92C2F #6DA92C #2CA9A7
split-complementary
#682CA9 #A9A72C #2FA92C
monochromatic
#2C1348 #4A1F78 #682CA9 #8644CE #A674DB

Accessibility & contrast

On white

8.33
#682CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#682CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682CA9
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682CA9#FFFFFF#000000##FFFFFF
##682CA91.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004DA6
Tritanopia (blue-blind)
#594B68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #682ca9;
/* rgb */ color: rgb(104, 44, 169);
/* oklch */ color: oklch(44.6% 0.187 300.8);
Tailwind
colors: {
  custom: {
    50: '#996bc3',
    500: '#682ca9',
    950: '#000000',
  },
}
SCSS
$custom: #682ca9;
$custom-light: #996bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#682ca9",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 268.8,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44647,
    "c": 0.18737,
    "h": 300.8
  },
  "luminance": 0.07609
}

Semantic roles & 50–950 ramp

primary
#682CA9
secondary
#9AC36E
accent
#E24697
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #682CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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