#682FA3#682FA3

#682FA3 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.177 H 302.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#682FA3
RGBrgb(104, 47, 163)
HSLhsl(269, 55%, 41%)
HSVhsv(269, 71%, 64%)
CMYKcmyk(36.2%, 71.2%, 0%, 36.1%)
CIE-LABlab(33.18, 47.83, -52.75)
CIE-LCHlch(33.18, 71.20, 312.20°)
OKLaboklab(44.52% 0.0941 -0.1502)
OKLCHoklch(44.52% 0.177 302.1)
XYZxyz(13.3347, 7.6204, 35.4116)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682FA3 #6AA32F
analogous
#2F30A3 #682FA3 #A22FA3
triadic
#682FA3 #A3682F #2FA368
tetradic
#682FA3 #A32F30 #6AA32F #2FA3A2
square
#682FA3 #A32F30 #6AA32F #2FA3A2
split-complementary
#682FA3 #A3A22F #30A32F
monochromatic
#2B1444 #4A2173 #682FA3 #8646CA #A575D7

Accessibility & contrast

On white

8.32
#682FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#682FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682FA3
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682FA3#FFFFFF#000000##FFFFFF
##682FA31.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#5C4B66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #682fa3;
/* rgb */ color: rgb(104, 47, 163);
/* oklch */ color: oklch(44.5% 0.177 302.1);
Tailwind
colors: {
  custom: {
    50: '#986cbf',
    500: '#682fa3',
    950: '#000000',
  },
}
SCSS
$custom: #682fa3;
$custom-light: #986cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#682fa3",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 269.483,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44517,
    "c": 0.17727,
    "h": 302.1
  },
  "luminance": 0.0762
}

Semantic roles & 50–950 ramp

primary
#682FA3
secondary
#98BF6F
accent
#DF4995
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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