#682A9E#682A9E

#682A9E is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.178 H 304.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#682A9E
RGBrgb(104, 42, 158)
HSLhsl(272, 58%, 39%)
HSVhsv(272, 73%, 62%)
CMYKcmyk(34.2%, 73.4%, 0%, 38%)
CIE-LABlab(31.96, 48.94, -51.70)
CIE-LCHlch(31.96, 71.19, 313.43°)
OKLaboklab(43.53% 0.1001 -0.1471)
OKLCHoklch(43.53% 0.178 304.2)
XYZxyz(12.7070, 7.0677, 33.0359)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A9E #609E2A
analogous
#2E2A9E #682A9E #9E2A9A
triadic
#682A9E #9E682A #2A9E68
tetradic
#682A9E #9E2E2A #609E2A #2A9A9E
square
#682A9E #9E2E2A #609E2A #2A9A9E
split-complementary
#682A9E #9A9E2A #2A9E2E
monochromatic
#28103D #481D6E #682A9E #883ACB #A56BD8

Accessibility & contrast

On white

8.70
#682A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#682A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A9E
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A9E#FFFFFF#000000##FFFFFF
##682A9E1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#5E4661
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682a9e;
/* rgb */ color: rgb(104, 42, 158);
/* oklch */ color: oklch(43.5% 0.178 304.2);
Tailwind
colors: {
  custom: {
    50: '#9869bb',
    500: '#682a9e',
    950: '#000000',
  },
}
SCSS
$custom: #682a9e;
$custom-light: #9869bb;
$custom-dark: #000000;
JSON
{
  "hex": "#682a9e",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 272.069,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4353,
    "c": 0.17796,
    "h": 304.2
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#682A9E
secondary
#8FBE66
accent
#E1478F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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