#682C95#682C95

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

Color values

HEX#682C95
RGBrgb(104, 44, 149)
HSLhsl(274, 54%, 38%)
HSVhsv(274, 70%, 58%)
CMYKcmyk(30.2%, 70.5%, 0%, 41.6%)
CIE-LABlab(31.61, 45.84, -46.78)
CIE-LCHlch(31.61, 65.50, 314.42°)
OKLaboklab(43.07% 0.0995 -0.1327)
OKLCHoklch(43.07% 0.166 306.9)
XYZxyz(12.0333, 6.9145, 29.1286)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C95 #59952C
analogous
#342C95 #682C95 #952C8D
triadic
#682C95 #95682C #2C9568
tetradic
#682C95 #95342C #59952C #2C8D95
square
#682C95 #95342C #59952C #2C8D95
split-complementary
#682C95 #8D952C #2C9534
monochromatic
#261037 #471E66 #682C95 #893AC4 #A569D3

Accessibility & contrast

On white

8.81
#682C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#682C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C95
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C95#FFFFFF#000000##FFFFFF
##682C951.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#0D4B93
Tritanopia (blue-blind)
#60435D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682c95;
/* rgb */ color: rgb(104, 44, 149);
/* oklch */ color: oklch(43.1% 0.166 306.9);
Tailwind
colors: {
  custom: {
    50: '#976ab5',
    500: '#682c95',
    950: '#000000',
  },
}
SCSS
$custom: #682c95;
$custom-light: #976ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#682c95",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 274.286,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43067,
    "c": 0.16583,
    "h": 306.9
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#682C95
secondary
#88B964
accent
#DE4A89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682C95

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

Preview Lab → · Contrast checker → · Palette generator →

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