#682A99#682A99

#682A99 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.173 H 305.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#682A99
RGBrgb(104, 42, 153)
HSLhsl(274, 57%, 38%)
HSVhsv(274, 73%, 60%)
CMYKcmyk(32%, 72.5%, 0%, 40%)
CIE-LABlab(31.58, 47.74, -49.28)
CIE-LCHlch(31.58, 68.61, 314.09°)
OKLaboklab(43.14% 0.101 -0.14)
OKLCHoklch(43.14% 0.173 305.8)
XYZxyz(12.2854, 6.8990, 30.8152)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A99 #5B992A
analogous
#312A99 #682A99 #992A92
triadic
#682A99 #99682A #2A9968
tetradic
#682A99 #99312A #5B992A #2A9299
square
#682A99 #99312A #5B992A #2A9299
split-complementary
#682A99 #92992A #2A9931
monochromatic
#271039 #471D69 #682A99 #8938C8 #A568D6

Accessibility & contrast

On white

8.82
#682A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#682A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A99
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A99#FFFFFF#000000##FFFFFF
##682A991.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#5F445F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682a99;
/* rgb */ color: rgb(104, 42, 153);
/* oklch */ color: oklch(43.1% 0.173 305.8);
Tailwind
colors: {
  custom: {
    50: '#9869b8',
    500: '#682a99',
    950: '#000000',
  },
}
SCSS
$custom: #682a99;
$custom-light: #9869b8;
$custom-dark: #000000;
JSON
{
  "hex": "#682a99",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 273.514,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43136,
    "c": 0.17266,
    "h": 305.8
  },
  "luminance": 0.06899
}

Semantic roles & 50–950 ramp

primary
#682A99
secondary
#8ABC63
accent
#E0488B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682A99

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

Preview Lab → · Contrast checker → · Palette generator →

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