#682DA0#682DA0

#682DA0 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.176 H 303.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#682DA0
RGBrgb(104, 45, 160)
HSLhsl(271, 56%, 40%)
HSVhsv(271, 72%, 63%)
CMYKcmyk(35%, 71.9%, 0%, 37.3%)
CIE-LABlab(32.61, 48.04, -51.86)
CIE-LCHlch(32.61, 70.69, 312.81°)
OKLaboklab(44.04% 0.0967 -0.1476)
OKLCHoklch(44.04% 0.176 303.2)
XYZxyz(12.9910, 7.3579, 33.9867)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682DA0 #65A02D
analogous
#2F2DA0 #682DA0 #A02D9E
triadic
#682DA0 #A0682D #2DA068
tetradic
#682DA0 #A02F2D #65A02D #2D9EA0
square
#682DA0 #A02F2D #65A02D #2D9EA0
split-complementary
#682DA0 #9EA02D #2DA02F
monochromatic
#2A1240 #492070 #682DA0 #8741C9 #A570D7

Accessibility & contrast

On white

8.50
#682DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#682DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682DA0
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682DA0#FFFFFF#000000##FFFFFF
##682DA01.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682da0;
/* rgb */ color: rgb(104, 45, 160);
/* oklch */ color: oklch(44.0% 0.176 303.2);
Tailwind
colors: {
  custom: {
    50: '#986bbd',
    500: '#682da0',
    950: '#000000',
  },
}
SCSS
$custom: #682da0;
$custom-light: #986bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#682da0",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 270.783,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44038,
    "c": 0.17647,
    "h": 303.2
  },
  "luminance": 0.07358
}

Semantic roles & 50–950 ramp

primary
#682DA0
secondary
#93BE6B
accent
#DF4892
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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