#682F8F#682F8F

#682F8F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.0% C 0.155 H 308.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#682F8F
RGBrgb(104, 47, 143)
HSLhsl(276, 51%, 37%)
HSVhsv(276, 67%, 56%)
CMYKcmyk(27.3%, 67.1%, 0%, 43.9%)
CIE-LABlab(31.71, 42.94, -42.93)
CIE-LCHlch(31.71, 60.72, 315.00°)
OKLaboklab(43.01% 0.0966 -0.1214)
OKLCHoklch(43.01% 0.155 308.5)
XYZxyz(11.6824, 6.9594, 26.7092)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F8F #568F2F
analogous
#382F8F #682F8F #8F2F86
triadic
#682F8F #8F682F #2F8F68
tetradic
#682F8F #8F382F #568F2F #2F868F
square
#682F8F #8F382F #568F2F #2F868F
split-complementary
#682F8F #868F2F #2F8F38
monochromatic
#251133 #472061 #682F8F #893EBD #A66ACE

Accessibility & contrast

On white

8.78
#682F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682F8F
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F8F#FFFFFF#000000##FFFFFF
##682F8F1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#1E4B8D
Tritanopia (blue-blind)
#62435B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682f8f;
/* rgb */ color: rgb(104, 47, 143);
/* oklch */ color: oklch(43.0% 0.155 308.5);
Tailwind
colors: {
  custom: {
    50: '#976cb0',
    500: '#682f8f',
    950: '#000000',
  },
}
SCSS
$custom: #682f8f;
$custom-light: #976cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#682f8f",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 275.625,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43005,
    "c": 0.15515,
    "h": 308.5
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#682F8F
secondary
#85B565
accent
#DA4E87
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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