#682FA5#682FA5

#682FA5 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.179 H 301.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#682FA5
RGBrgb(104, 47, 165)
HSLhsl(269, 56%, 42%)
HSVhsv(269, 72%, 65%)
CMYKcmyk(37%, 71.5%, 0%, 35.3%)
CIE-LABlab(33.33, 48.33, -53.70)
CIE-LCHlch(33.33, 72.24, 311.99°)
OKLaboklab(44.68% 0.0938 -0.153)
OKLCHoklch(44.68% 0.179 301.5)
XYZxyz(13.5153, 7.6926, 36.3628)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682FA5 #6CA52F
analogous
#2F31A5 #682FA5 #A32FA5
triadic
#682FA5 #A5682F #2FA568
tetradic
#682FA5 #A52F31 #6CA52F #2FA5A3
square
#682FA5 #A52F31 #6CA52F #2FA5A3
split-complementary
#682FA5 #A5A32F #31A52F
monochromatic
#2C1446 #4A2175 #682FA5 #8647CB #A676D8

Accessibility & contrast

On white

8.27
#682FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#682FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682FA5
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682FA5#FFFFFF#000000##FFFFFF
##682FA51.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#5B4B67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #682fa5;
/* rgb */ color: rgb(104, 47, 165);
/* oklch */ color: oklch(44.7% 0.179 301.5);
Tailwind
colors: {
  custom: {
    50: '#986cc1',
    500: '#682fa5',
    950: '#000000',
  },
}
SCSS
$custom: #682fa5;
$custom-light: #986cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#682fa5",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 268.983,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44676,
    "c": 0.17947,
    "h": 301.5
  },
  "luminance": 0.07693
}

Semantic roles & 50–950 ramp

primary
#682FA5
secondary
#99C070
accent
#DF4996
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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