#682F96#682F96

#682F96 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.163 H 306.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#682F96
RGBrgb(104, 47, 150)
HSLhsl(273, 52%, 39%)
HSVhsv(273, 69%, 59%)
CMYKcmyk(30.7%, 68.7%, 0%, 41.2%)
CIE-LABlab(32.21, 44.62, -46.43)
CIE-LCHlch(32.21, 64.39, 313.86°)
OKLaboklab(43.52% 0.096 -0.1316)
OKLCHoklch(43.52% 0.163 306.1)
XYZxyz(12.2293, 7.1782, 29.5895)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F96 #5D962F
analogous
#342F96 #682F96 #962F90
triadic
#682F96 #96682F #2F9668
tetradic
#682F96 #96342F #5D962F #2F9096
square
#682F96 #96342F #5D962F #2F9096
split-complementary
#682F96 #90962F #2F9634
monochromatic
#271239 #482067 #682F96 #883FC3 #A56ED2

Accessibility & contrast

On white

8.62
#682F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#682F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F96
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F96#FFFFFF#000000##FFFFFF
##682F961.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#114C94
Tritanopia (blue-blind)
#60465E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #682f96;
/* rgb */ color: rgb(104, 47, 150);
/* oklch */ color: oklch(43.5% 0.163 306.1);
Tailwind
colors: {
  custom: {
    50: '#976cb6',
    500: '#682f96',
    950: '#000000',
  },
}
SCSS
$custom: #682f96;
$custom-light: #976cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#682f96",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 273.204,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43518,
    "c": 0.16291,
    "h": 306.1
  },
  "luminance": 0.07178
}

Semantic roles & 50–950 ramp

primary
#682F96
secondary
#8CB968
accent
#DC4C8C
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682F96

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

Preview Lab → · Contrast checker → · Palette generator →

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