#682C87#682C87

#682C87 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.0% C 0.151 H 312.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#682C87
RGBrgb(104, 44, 135)
HSLhsl(280, 51%, 35%)
HSVhsv(280, 67%, 53%)
CMYKcmyk(23%, 67.4%, 0%, 47.1%)
CIE-LABlab(30.63, 42.55, -39.73)
CIE-LCHlch(30.63, 58.22, 316.96°)
OKLaboklab(42.05% 0.1009 -0.112)
OKLCHoklch(42.05% 0.151 312)
XYZxyz(10.9820, 6.4940, 23.5919)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C87 #4B872C
analogous
#3A2C87 #682C87 #872C79
triadic
#682C87 #87682C #2C8768
tetradic
#682C87 #873A2C #4B872C #2C7987
square
#682C87 #873A2C #4B872C #2C7987
split-complementary
#682C87 #79872C #2C873A
monochromatic
#210E2B #441D59 #682C87 #8C3BB5 #A862CC

Accessibility & contrast

On white

9.14
#682C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#682C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C87
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C87#FFFFFF#000000##FFFFFF
##682C871.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#244985
Tritanopia (blue-blind)
#643E55
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682c87;
/* rgb */ color: rgb(104, 44, 135);
/* oklch */ color: oklch(42.0% 0.151 312.0);
Tailwind
colors: {
  custom: {
    50: '#966aaa',
    500: '#682c87',
    950: '#000000',
  },
}
SCSS
$custom: #682c87;
$custom-light: #966aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#682c87",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 279.56,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42047,
    "c": 0.15071,
    "h": 312
  },
  "luminance": 0.06494
}

Semantic roles & 50–950 ramp

primary
#682C87
secondary
#7AB25D
accent
#DA4D7D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #682C87

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

Preview Lab → · Contrast checker → · Palette generator →

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