#682BA9#682BA9

#682BA9 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.189 H 300.9°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#682BA9
RGBrgb(104, 43, 169)
HSLhsl(269, 59%, 42%)
HSVhsv(269, 75%, 66%)
CMYKcmyk(38.5%, 74.6%, 0%, 33.7%)
CIE-LABlab(33.00, 51.18, -56.66)
CIE-LCHlch(33.00, 76.35, 312.09°)
OKLaboklab(44.54% 0.0969 -0.1617)
OKLCHoklch(44.54% 0.189 300.9)
XYZxyz(13.7325, 7.5353, 38.2594)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682BA9 #6CA92B
analogous
#2B2DA9 #682BA9 #A72BA9
triadic
#682BA9 #A9682B #2BA968
tetradic
#682BA9 #A92B2D #6CA92B #2BA9A7
square
#682BA9 #A92B2D #6CA92B #2BA9A7
split-complementary
#682BA9 #A9A72B #2DA92B
monochromatic
#2C1247 #4A1F78 #682BA9 #8642CF #A673DB

Accessibility & contrast

On white

8.38
#682BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#682BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682BA9
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682BA9#FFFFFF#000000##FFFFFF
##682BA91.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004DA6
Tritanopia (blue-blind)
#594B68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #682ba9;
/* rgb */ color: rgb(104, 43, 169);
/* oklch */ color: oklch(44.5% 0.189 300.9);
Tailwind
colors: {
  custom: {
    50: '#996ac3',
    500: '#682ba9',
    950: '#000000',
  },
}
SCSS
$custom: #682ba9;
$custom-light: #996ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#682ba9",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 269.048,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44535,
    "c": 0.18851,
    "h": 300.9
  },
  "luminance": 0.07535
}

Semantic roles & 50–950 ramp

primary
#682BA9
secondary
#99C36D
accent
#E34596
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #682BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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