#682F8E#682F8E

#682F8E is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.9% C 0.154 H 308.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#682F8E
RGBrgb(104, 47, 142)
HSLhsl(276, 50%, 37%)
HSVhsv(276, 67%, 56%)
CMYKcmyk(26.8%, 66.9%, 0%, 44.3%)
CIE-LABlab(31.65, 42.70, -42.43)
CIE-LCHlch(31.65, 60.19, 315.18°)
OKLaboklab(42.93% 0.0967 -0.1199)
OKLCHoklch(42.93% 0.154 308.9)
XYZxyz(11.6069, 6.9293, 26.3120)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F8E #558E2F
analogous
#382F8E #682F8E #8E2F85
triadic
#682F8E #8E682F #2F8E68
tetradic
#682F8E #8E382F #558E2F #2F858E
square
#682F8E #8E382F #558E2F #2F858E
split-complementary
#682F8E #858E2F #2F8E38
monochromatic
#251132 #462060 #682F8E #8A3EBC #A66ACE

Accessibility & contrast

On white

8.80
#682F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#682F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F8E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F8E#FFFFFF#000000##FFFFFF
##682F8E1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#1F4B8C
Tritanopia (blue-blind)
#62435A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682f8e;
/* rgb */ color: rgb(104, 47, 142);
/* oklch */ color: oklch(42.9% 0.154 308.9);
Tailwind
colors: {
  custom: {
    50: '#966cb0',
    500: '#682f8e',
    950: '#000000',
  },
}
SCSS
$custom: #682f8e;
$custom-light: #966cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#682f8e",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 276,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42933,
    "c": 0.15405,
    "h": 308.9
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#682F8E
secondary
#84B564
accent
#DA4E86
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #682F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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