#682FA0#682FA0

#682FA0 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.174 H 302.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#682FA0
RGBrgb(104, 47, 160)
HSLhsl(270, 55%, 41%)
HSVhsv(270, 71%, 63%)
CMYKcmyk(35%, 70.6%, 0%, 37.3%)
CIE-LABlab(32.95, 47.08, -51.31)
CIE-LCHlch(32.95, 69.63, 312.54°)
OKLaboklab(44.28% 0.0946 -0.146)
OKLCHoklch(44.28% 0.174 302.9)
XYZxyz(13.0691, 7.5141, 34.0127)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682FA0 #67A02F
analogous
#2F2FA0 #682FA0 #A02F9F
triadic
#682FA0 #A0682F #2FA068
tetradic
#682FA0 #A02F2F #67A02F #2F9FA0
square
#682FA0 #A02F2F #67A02F #2F9FA0
split-complementary
#682FA0 #9FA02F #2FA02F
monochromatic
#2B1341 #492171 #682FA0 #8744C8 #A573D6

Accessibility & contrast

On white

8.39
#682FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#682FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682FA0
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682FA0#FFFFFF#000000##FFFFFF
##682FA01.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#5D4964
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #682fa0;
/* rgb */ color: rgb(104, 47, 160);
/* oklch */ color: oklch(44.3% 0.174 302.9);
Tailwind
colors: {
  custom: {
    50: '#986cbd',
    500: '#682fa0',
    950: '#000000',
  },
}
SCSS
$custom: #682fa0;
$custom-light: #986cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#682fa0",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 270.265,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44281,
    "c": 0.17397,
    "h": 302.9
  },
  "luminance": 0.07514
}

Semantic roles & 50–950 ramp

primary
#682FA0
secondary
#95BE6D
accent
#DE4A93
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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