#682CA5#682CA5

#682CA5 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.183 H 301.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#682CA5
RGBrgb(104, 44, 165)
HSLhsl(270, 58%, 41%)
HSVhsv(270, 73%, 65%)
CMYKcmyk(37%, 73.3%, 0%, 35.3%)
CIE-LABlab(32.83, 49.74, -54.51)
CIE-LCHlch(32.83, 73.79, 312.38°)
OKLaboklab(44.32% 0.0968 -0.1554)
OKLCHoklch(44.32% 0.183 301.9)
XYZxyz(13.3995, 7.4610, 36.3242)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682CA5 #69A52C
analogous
#2C2CA5 #682CA5 #A42CA5
triadic
#682CA5 #A5682C #2CA568
tetradic
#682CA5 #A52C2C #69A52C #2CA5A4
square
#682CA5 #A52C2C #69A52C #2CA5A4
split-complementary
#682CA5 #A5A42C #2CA52C
monochromatic
#2B1244 #4A1F75 #682CA5 #8742CD #A572D9

Accessibility & contrast

On white

8.43
#682CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#682CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682CA5
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682CA5#FFFFFF#000000##FFFFFF
##682CA51.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#5B4A66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #682ca5;
/* rgb */ color: rgb(104, 44, 165);
/* oklch */ color: oklch(44.3% 0.183 301.9);
Tailwind
colors: {
  custom: {
    50: '#996bc1',
    500: '#682ca5',
    950: '#000000',
  },
}
SCSS
$custom: #682ca5;
$custom-light: #996bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#682ca5",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 269.752,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44321,
    "c": 0.18308,
    "h": 301.9
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#682CA5
secondary
#97C16C
accent
#E14795
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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