#682A9A#682A9A

#682A9A is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.174 H 305.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#682A9A
RGBrgb(104, 42, 154)
HSLhsl(273, 57%, 38%)
HSVhsv(273, 73%, 60%)
CMYKcmyk(32.5%, 72.7%, 0%, 39.6%)
CIE-LABlab(31.65, 47.98, -49.77)
CIE-LCHlch(31.65, 69.13, 313.95°)
OKLaboklab(43.21% 0.1009 -0.1414)
OKLCHoklch(43.21% 0.174 305.5)
XYZxyz(12.3683, 6.9322, 31.2520)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A9A #5C9A2A
analogous
#302A9A #682A9A #9A2A94
triadic
#682A9A #9A682A #2A9A68
tetradic
#682A9A #9A302A #5C9A2A #2A949A
square
#682A9A #9A302A #5C9A2A #2A949A
split-complementary
#682A9A #949A2A #2A9A30
monochromatic
#27103A #481D6A #682A9A #8838C9 #A568D6

Accessibility & contrast

On white

8.80
#682A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#682A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A9A
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A9A#FFFFFF#000000##FFFFFF
##682A9A1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#5F445F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682a9a;
/* rgb */ color: rgb(104, 42, 154);
/* oklch */ color: oklch(43.2% 0.174 305.5);
Tailwind
colors: {
  custom: {
    50: '#9869b9',
    500: '#682a9a',
    950: '#000000',
  },
}
SCSS
$custom: #682a9a;
$custom-light: #9869b9;
$custom-dark: #000000;
JSON
{
  "hex": "#682a9a",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 273.214,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43214,
    "c": 0.17372,
    "h": 305.5
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#682A9A
secondary
#8BBC63
accent
#E0478C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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