#682E97#682E97

#682E97 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.165 H 305.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#682E97
RGBrgb(104, 46, 151)
HSLhsl(273, 53%, 39%)
HSVhsv(273, 70%, 59%)
CMYKcmyk(31.1%, 69.5%, 0%, 40.8%)
CIE-LABlab(32.10, 45.36, -47.21)
CIE-LCHlch(32.10, 65.47, 313.86°)
OKLaboklab(43.47% 0.097 -0.1339)
OKLCHoklch(43.47% 0.165 305.9)
XYZxyz(12.2706, 7.1315, 30.0022)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E97 #5D972E
analogous
#342E97 #682E97 #972E91
triadic
#682E97 #97682E #2E9768
tetradic
#682E97 #97342E #5D972E #2E9197
square
#682E97 #97342E #5D972E #2E9197
split-complementary
#682E97 #91972E #2E9734
monochromatic
#271139 #482068 #682E97 #883EC4 #A56DD2

Accessibility & contrast

On white

8.66
#682E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#682E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682E97
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E97#FFFFFF#000000##FFFFFF
##682E971.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#0C4C95
Tritanopia (blue-blind)
#60455F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #682e97;
/* rgb */ color: rgb(104, 46, 151);
/* oklch */ color: oklch(43.5% 0.165 305.9);
Tailwind
colors: {
  custom: {
    50: '#976bb6',
    500: '#682e97',
    950: '#000000',
  },
}
SCSS
$custom: #682e97;
$custom-light: #976bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#682e97",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 273.143,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43466,
    "c": 0.16536,
    "h": 305.9
  },
  "luminance": 0.07131
}

Semantic roles & 50–950 ramp

primary
#682E97
secondary
#8CBA67
accent
#DD4B8C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682E97

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

Preview Lab → · Contrast checker → · Palette generator →

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