#682E9A#682E9A

#682E9A is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.169 H 304.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#682E9A
RGBrgb(104, 46, 154)
HSLhsl(272, 54%, 39%)
HSVhsv(272, 70%, 60%)
CMYKcmyk(32.5%, 70.1%, 0%, 39.6%)
CIE-LABlab(32.33, 46.09, -48.68)
CIE-LCHlch(32.33, 67.03, 313.43°)
OKLaboklab(43.69% 0.0966 -0.1383)
OKLCHoklch(43.69% 0.169 304.9)
XYZxyz(12.5173, 7.2302, 31.3017)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E9A #609A2E
analogous
#322E9A #682E9A #9A2E96
triadic
#682E9A #9A682E #2E9A68
tetradic
#682E9A #9A322E #609A2E #2E969A
square
#682E9A #9A322E #609A2E #2E969A
split-complementary
#682E9A #969A2E #2E9A32
monochromatic
#28123C #48206B #682E9A #883FC6 #A56FD4

Accessibility & contrast

On white

8.59
#682E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#682E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682E9A
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E9A#FFFFFF#000000##FFFFFF
##682E9A1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#024C98
Tritanopia (blue-blind)
#5F4760
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #682e9a;
/* rgb */ color: rgb(104, 46, 154);
/* oklch */ color: oklch(43.7% 0.169 304.9);
Tailwind
colors: {
  custom: {
    50: '#976bb8',
    500: '#682e9a',
    950: '#000000',
  },
}
SCSS
$custom: #682e9a;
$custom-light: #976bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#682e9a",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 272.222,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43693,
    "c": 0.16865,
    "h": 304.9
  },
  "luminance": 0.0723
}

Semantic roles & 50–950 ramp

primary
#682E9A
secondary
#8FBB69
accent
#DD4A8E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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