#682FA9#682FA9

#682FA9 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.184 H 300.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#682FA9
RGBrgb(104, 47, 169)
HSLhsl(268, 56%, 42%)
HSVhsv(268, 72%, 66%)
CMYKcmyk(38.5%, 72.2%, 0%, 33.7%)
CIE-LABlab(33.65, 49.33, -55.59)
CIE-LCHlch(33.65, 74.32, 311.59°)
OKLaboklab(45% 0.093 -0.1586)
OKLCHoklch(45% 0.184 300.4)
XYZxyz(13.8851, 7.8405, 38.3103)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682FA9 #70A92F
analogous
#2F33A9 #682FA9 #A52FA9
triadic
#682FA9 #A9682F #2FA968
tetradic
#682FA9 #A92F33 #70A92F #2FA9A5
square
#682FA9 #A92F33 #70A92F #2FA9A5
split-complementary
#682FA9 #A9A52F #33A92F
monochromatic
#2D1449 #4B2279 #682FA9 #8649CC #A679DA

Accessibility & contrast

On white

8.18
#682FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#682FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682FA9
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682FA9#FFFFFF#000000##FFFFFF
##682FA91.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#594D69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #682fa9;
/* rgb */ color: rgb(104, 47, 169);
/* oklch */ color: oklch(45.0% 0.184 300.4);
Tailwind
colors: {
  custom: {
    50: '#996dc3',
    500: '#682fa9',
    950: '#000000',
  },
}
SCSS
$custom: #682fa9;
$custom-light: #996dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#682fa9",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 268.033,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44997,
    "c": 0.18387,
    "h": 300.4
  },
  "luminance": 0.07841
}

Semantic roles & 50–950 ramp

primary
#682FA9
secondary
#9DC272
accent
#E04899
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #682FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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