#682FA4#682FA4

#682FA4 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.178 H 301.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#682FA4
RGBrgb(104, 47, 164)
HSLhsl(269, 55%, 41%)
HSVhsv(269, 71%, 64%)
CMYKcmyk(36.6%, 71.3%, 0%, 35.7%)
CIE-LABlab(33.26, 48.08, -53.22)
CIE-LCHlch(33.26, 71.72, 312.09°)
OKLaboklab(44.6% 0.0939 -0.1516)
OKLCHoklch(44.6% 0.178 301.8)
XYZxyz(13.4247, 7.6564, 35.8853)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682FA4 #6BA42F
analogous
#2F31A4 #682FA4 #A32FA4
triadic
#682FA4 #A4682F #2FA468
tetradic
#682FA4 #A42F31 #6BA42F #2FA4A3
square
#682FA4 #A42F31 #6BA42F #2FA4A3
split-complementary
#682FA4 #A4A32F #31A42F
monochromatic
#2C1445 #4A2174 #682FA4 #8646CA #A576D8

Accessibility & contrast

On white

8.30
#682FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#682FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682FA4
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682FA4#FFFFFF#000000##FFFFFF
##682FA41.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#5B4B66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #682fa4;
/* rgb */ color: rgb(104, 47, 164);
/* oklch */ color: oklch(44.6% 0.178 301.8);
Tailwind
colors: {
  custom: {
    50: '#986cc0',
    500: '#682fa4',
    950: '#000000',
  },
}
SCSS
$custom: #682fa4;
$custom-light: #986cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#682fa4",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 269.231,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44596,
    "c": 0.17838,
    "h": 301.8
  },
  "luminance": 0.07656
}

Semantic roles & 50–950 ramp

primary
#682FA4
secondary
#98C06F
accent
#DF4996
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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