#682E96#682E96

#682E96 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.164 H 306.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#682E96
RGBrgb(104, 46, 150)
HSLhsl(273, 53%, 38%)
HSVhsv(273, 69%, 59%)
CMYKcmyk(30.7%, 69.3%, 0%, 41.2%)
CIE-LABlab(32.03, 45.11, -46.71)
CIE-LCHlch(32.03, 64.94, 314.00°)
OKLaboklab(43.39% 0.0971 -0.1325)
OKLCHoklch(43.39% 0.164 306.2)
XYZxyz(12.1897, 7.0992, 29.5764)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E96 #5C962E
analogous
#342E96 #682E96 #962E90
triadic
#682E96 #96682E #2E9668
tetradic
#682E96 #96342E #5C962E #2E9096
square
#682E96 #96342E #5C962E #2E9096
split-complementary
#682E96 #90962E #2E9634
monochromatic
#271138 #482067 #682E96 #883EC4 #A56CD2

Accessibility & contrast

On white

8.68
#682E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#682E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682E96
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E96#FFFFFF#000000##FFFFFF
##682E961.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#0F4C94
Tritanopia (blue-blind)
#60455E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682e96;
/* rgb */ color: rgb(104, 46, 150);
/* oklch */ color: oklch(43.4% 0.164 306.2);
Tailwind
colors: {
  custom: {
    50: '#976bb6',
    500: '#682e96',
    950: '#000000',
  },
}
SCSS
$custom: #682e96;
$custom-light: #976bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#682e96",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 273.462,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4339,
    "c": 0.16426,
    "h": 306.2
  },
  "luminance": 0.07099
}

Semantic roles & 50–950 ramp

primary
#682E96
secondary
#8BB967
accent
#DC4B8C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682E96

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

Preview Lab → · Contrast checker → · Palette generator →

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