#682B95#682B95

#682B95 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.167 H 307.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#682B95
RGBrgb(104, 43, 149)
HSLhsl(275, 55%, 38%)
HSVhsv(275, 71%, 58%)
CMYKcmyk(30.2%, 71.1%, 0%, 41.6%)
CIE-LABlab(31.44, 46.32, -47.05)
CIE-LCHlch(31.44, 66.03, 314.55°)
OKLaboklab(42.95% 0.1006 -0.1335)
OKLCHoklch(42.95% 0.167 307)
XYZxyz(11.9965, 6.8409, 29.1164)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682B95 #58952B
analogous
#332B95 #682B95 #952B8D
triadic
#682B95 #95682B #2B9568
tetradic
#682B95 #95332B #58952B #2B8D95
square
#682B95 #95332B #58952B #2B8D95
split-complementary
#682B95 #8D952B #2B9533
monochromatic
#261036 #471D66 #682B95 #8939C4 #A567D3

Accessibility & contrast

On white

8.87
#682B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#682B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682B95
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682B95#FFFFFF#000000##FFFFFF
##682B951.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#0A4A93
Tritanopia (blue-blind)
#60435D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682b95;
/* rgb */ color: rgb(104, 43, 149);
/* oklch */ color: oklch(42.9% 0.167 307.0);
Tailwind
colors: {
  custom: {
    50: '#976ab5',
    500: '#682b95',
    950: '#000000',
  },
}
SCSS
$custom: #682b95;
$custom-light: #976ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#682b95",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 274.528,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42946,
    "c": 0.16713,
    "h": 307
  },
  "luminance": 0.06841
}

Semantic roles & 50–950 ramp

primary
#682B95
secondary
#87BA62
accent
#DF4989
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682B95

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

Preview Lab → · Contrast checker → · Palette generator →

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