#682A9B#682A9B

#682A9B is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.3% C 0.175 H 305.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#682A9B
RGBrgb(104, 42, 155)
HSLhsl(273, 57%, 39%)
HSVhsv(273, 73%, 61%)
CMYKcmyk(32.9%, 72.9%, 0%, 39.2%)
CIE-LABlab(31.73, 48.22, -50.25)
CIE-LCHlch(31.73, 69.64, 313.81°)
OKLaboklab(43.29% 0.1007 -0.1429)
OKLCHoklch(43.29% 0.175 305.2)
XYZxyz(12.4520, 6.9656, 31.6925)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A9B #5D9B2A
analogous
#2F2A9B #682A9B #9B2A95
triadic
#682A9B #9B682A #2A9B68
tetradic
#682A9B #9B2F2A #5D9B2A #2A959B
square
#682A9B #9B2F2A #5D9B2A #2A959B
split-complementary
#682A9B #959B2A #2A9B2F
monochromatic
#27103B #481D6B #682A9B #8839C9 #A569D6

Accessibility & contrast

On white

8.77
#682A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682A9B
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A9B#FFFFFF#000000##FFFFFF
##682A9B1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#5F4560
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682a9b;
/* rgb */ color: rgb(104, 42, 155);
/* oklch */ color: oklch(43.3% 0.175 305.2);
Tailwind
colors: {
  custom: {
    50: '#9869b9',
    500: '#682a9b',
    950: '#000000',
  },
}
SCSS
$custom: #682a9b;
$custom-light: #9869b9;
$custom-dark: #000000;
JSON
{
  "hex": "#682a9b",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 272.92,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43292,
    "c": 0.17478,
    "h": 305.2
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#682A9B
secondary
#8CBD64
accent
#E1478C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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