#682C9F#682C9F

#682C9F is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.177 H 303.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#682C9F
RGBrgb(104, 44, 159)
HSLhsl(271, 57%, 40%)
HSVhsv(271, 72%, 62%)
CMYKcmyk(34.6%, 72.3%, 0%, 37.6%)
CIE-LABlab(32.36, 48.26, -51.65)
CIE-LCHlch(32.36, 70.69, 313.06°)
OKLaboklab(43.84% 0.0979 -0.147)
OKLCHoklch(43.84% 0.177 303.7)
XYZxyz(12.8662, 7.2476, 33.5153)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C9F #639F2C
analogous
#2E2C9F #682C9F #9F2C9D
triadic
#682C9F #9F682C #2C9F68
tetradic
#682C9F #9F2E2C #639F2C #2C9D9F
square
#682C9F #9F2E2C #639F2C #2C9D9F
split-complementary
#682C9F #9D9F2C #2C9F2E
monochromatic
#29113F #491F6F #682C9F #873ECA #A56ED7

Accessibility & contrast

On white

8.57
#682C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#682C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C9F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C9F#FFFFFF#000000##FFFFFF
##682C9F1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#5D4762
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #682c9f;
/* rgb */ color: rgb(104, 44, 159);
/* oklch */ color: oklch(43.8% 0.177 303.7);
Tailwind
colors: {
  custom: {
    50: '#986bbc',
    500: '#682c9f',
    950: '#000000',
  },
}
SCSS
$custom: #682c9f;
$custom-light: #986bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#682c9f",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 271.304,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4384,
    "c": 0.17662,
    "h": 303.7
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#682C9F
secondary
#92BE69
accent
#E04891
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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