#682C96#682C96

#682C96 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.167 H 306.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#682C96
RGBrgb(104, 44, 150)
HSLhsl(274, 55%, 38%)
HSVhsv(274, 71%, 59%)
CMYKcmyk(30.7%, 70.7%, 0%, 41.2%)
CIE-LABlab(31.68, 46.08, -47.27)
CIE-LCHlch(31.68, 66.02, 314.27°)
OKLaboklab(43.14% 0.0993 -0.1341)
OKLCHoklch(43.14% 0.167 306.5)
XYZxyz(12.1134, 6.9466, 29.5509)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C96 #5A962C
analogous
#332C96 #682C96 #962C8F
triadic
#682C96 #96682C #2C9668
tetradic
#682C96 #96332C #5A962C #2C8F96
square
#682C96 #96332C #5A962C #2C8F96
split-complementary
#682C96 #8F962C #2C9633
monochromatic
#261037 #471E67 #682C96 #893AC5 #A569D3

Accessibility & contrast

On white

8.79
#682C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682C96
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C96#FFFFFF#000000##FFFFFF
##682C961.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#0A4B94
Tritanopia (blue-blind)
#60445E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682c96;
/* rgb */ color: rgb(104, 44, 150);
/* oklch */ color: oklch(43.1% 0.167 306.5);
Tailwind
colors: {
  custom: {
    50: '#976ab6',
    500: '#682c96',
    950: '#000000',
  },
}
SCSS
$custom: #682c96;
$custom-light: #976ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#682c96",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 273.962,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43143,
    "c": 0.16691,
    "h": 306.5
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#682C96
secondary
#89BA64
accent
#DE4A8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682C96

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

Preview Lab → · Contrast checker → · Palette generator →

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