#682CA0#682CA0

#682CA0 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.178 H 303.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#682CA0
RGBrgb(104, 44, 160)
HSLhsl(271, 57%, 40%)
HSVhsv(271, 73%, 63%)
CMYKcmyk(35%, 72.5%, 0%, 37.3%)
CIE-LABlab(32.44, 48.51, -52.13)
CIE-LCHlch(32.44, 71.21, 312.94°)
OKLaboklab(43.92% 0.0977 -0.1484)
OKLCHoklch(43.92% 0.178 303.4)
XYZxyz(12.9533, 7.2825, 33.9741)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682CA0 #64A02C
analogous
#2E2CA0 #682CA0 #A02C9E
triadic
#682CA0 #A0682C #2CA068
tetradic
#682CA0 #A02E2C #64A02C #2C9EA0
square
#682CA0 #A02E2C #64A02C #2C9EA0
split-complementary
#682CA0 #9EA02C #2CA02E
monochromatic
#2A1240 #491F70 #682CA0 #873FCA #A56FD7

Accessibility & contrast

On white

8.55
#682CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#682CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682CA0
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682CA0#FFFFFF#000000##FFFFFF
##682CA01.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682ca0;
/* rgb */ color: rgb(104, 44, 160);
/* oklch */ color: oklch(43.9% 0.178 303.4);
Tailwind
colors: {
  custom: {
    50: '#986bbd',
    500: '#682ca0',
    950: '#000000',
  },
}
SCSS
$custom: #682ca0;
$custom-light: #986bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#682ca0",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 271.034,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.4392,
    "c": 0.1777,
    "h": 303.4
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#682CA0
secondary
#92BF69
accent
#E04891
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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