#682C9E#682C9E

#682C9E is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.176 H 304.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#682C9E
RGBrgb(104, 44, 158)
HSLhsl(272, 56%, 40%)
HSVhsv(272, 72%, 62%)
CMYKcmyk(34.2%, 72.2%, 0%, 38%)
CIE-LABlab(32.29, 48.02, -51.17)
CIE-LCHlch(32.29, 70.17, 313.18°)
OKLaboklab(43.76% 0.0981 -0.1456)
OKLCHoklch(43.76% 0.176 304)
XYZxyz(12.7797, 7.2131, 33.0601)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C9E #629E2C
analogous
#2F2C9E #682C9E #9E2C9B
triadic
#682C9E #9E682C #2C9E68
tetradic
#682C9E #9E2F2C #629E2C #2C9B9E
square
#682C9E #9E2F2C #629E2C #2C9B9E
split-complementary
#682C9E #9B9E2C #2C9E2F
monochromatic
#29113E #481F6E #682C9E #873EC9 #A56ED7

Accessibility & contrast

On white

8.60
#682C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#682C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C9E
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C9E#FFFFFF#000000##FFFFFF
##682C9E1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#5E4762
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #682c9e;
/* rgb */ color: rgb(104, 44, 158);
/* oklch */ color: oklch(43.8% 0.176 304.0);
Tailwind
colors: {
  custom: {
    50: '#986abb',
    500: '#682c9e',
    950: '#000000',
  },
}
SCSS
$custom: #682c9e;
$custom-light: #986abb;
$custom-dark: #000000;
JSON
{
  "hex": "#682c9e",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 271.579,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43761,
    "c": 0.17554,
    "h": 304
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#682C9E
secondary
#91BE68
accent
#E04890
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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