#682A95#682A95

#682A95 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.168 H 307.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#682A95
RGBrgb(104, 42, 149)
HSLhsl(275, 56%, 37%)
HSVhsv(275, 72%, 58%)
CMYKcmyk(30.2%, 71.8%, 0%, 41.6%)
CIE-LABlab(31.28, 46.78, -47.32)
CIE-LCHlch(31.28, 66.55, 314.67°)
OKLaboklab(42.83% 0.1017 -0.1343)
OKLCHoklch(42.83% 0.168 307.1)
XYZxyz(11.9605, 6.7691, 29.1044)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A95 #57952A
analogous
#322A95 #682A95 #952A8D
triadic
#682A95 #95682A #2A9568
tetradic
#682A95 #95322A #57952A #2A8D95
square
#682A95 #95322A #57952A #2A8D95
split-complementary
#682A95 #8D952A #2A9532
monochromatic
#250F36 #471D65 #682A95 #8937C5 #A566D4

Accessibility & contrast

On white

8.92
#682A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#682A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A95
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A95#FFFFFF#000000##FFFFFF
##682A951.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#074A93
Tritanopia (blue-blind)
#61425C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682a95;
/* rgb */ color: rgb(104, 42, 149);
/* oklch */ color: oklch(42.8% 0.168 307.1);
Tailwind
colors: {
  custom: {
    50: '#9769b5',
    500: '#682a95',
    950: '#000000',
  },
}
SCSS
$custom: #682a95;
$custom-light: #9769b5;
$custom-dark: #000000;
JSON
{
  "hex": "#682a95",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 274.766,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42827,
    "c": 0.1684,
    "h": 307.1
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#682A95
secondary
#86BA61
accent
#DF4888
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682A95

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

Preview Lab → · Contrast checker → · Palette generator →

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