#682A92#682A92

#682A92 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.165 H 308.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#682A92
RGBrgb(104, 42, 146)
HSLhsl(276, 55%, 37%)
HSVhsv(276, 71%, 57%)
CMYKcmyk(28.8%, 71.2%, 0%, 42.7%)
CIE-LABlab(31.05, 46.08, -45.84)
CIE-LCHlch(31.05, 65.00, 315.15°)
OKLaboklab(42.6% 0.1021 -0.1299)
OKLCHoklch(42.6% 0.165 308.2)
XYZxyz(11.7241, 6.6745, 27.8592)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A92 #54922A
analogous
#342A92 #682A92 #922A88
triadic
#682A92 #92682A #2A9268
tetradic
#682A92 #92342A #54922A #2A8892
square
#682A92 #92342A #54922A #2A8892
split-complementary
#682A92 #88922A #2A9234
monochromatic
#240F33 #461C62 #682A92 #8A38C2 #A664D2

Accessibility & contrast

On white

8.99
#682A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#682A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A92
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A92#FFFFFF#000000##FFFFFF
##682A921.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#104A90
Tritanopia (blue-blind)
#61415B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682a92;
/* rgb */ color: rgb(104, 42, 146);
/* oklch */ color: oklch(42.6% 0.165 308.2);
Tailwind
colors: {
  custom: {
    50: '#9769b3',
    500: '#682a92',
    950: '#000000',
  },
}
SCSS
$custom: #682a92;
$custom-light: #9769b3;
$custom-dark: #000000;
JSON
{
  "hex": "#682a92",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 275.769,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.426,
    "c": 0.16522,
    "h": 308.2
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#682A92
secondary
#83B85F
accent
#DF4986
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682A92

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

Preview Lab → · Contrast checker → · Palette generator →

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