#682E9F#682E9F

#682E9F is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.174 H 303.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#682E9F
RGBrgb(104, 46, 159)
HSLhsl(271, 55%, 40%)
HSVhsv(271, 71%, 62%)
CMYKcmyk(34.6%, 71.1%, 0%, 37.6%)
CIE-LABlab(32.70, 47.32, -51.10)
CIE-LCHlch(32.70, 69.65, 312.80°)
OKLaboklab(44.08% 0.0958 -0.1454)
OKLCHoklch(44.08% 0.174 303.4)
XYZxyz(12.9425, 7.4003, 33.5407)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E9F #659F2E
analogous
#2F2E9F #682E9F #9F2E9E
triadic
#682E9F #9F682E #2E9F68
tetradic
#682E9F #9F2F2E #659F2E #2E9E9F
square
#682E9F #9F2F2E #659F2E #2E9E9F
split-complementary
#682E9F #9E9F2E #2E9F2F
monochromatic
#2A1340 #492070 #682E9F #8742C8 #A571D6

Accessibility & contrast

On white

8.47
#682E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#682E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682E9F
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E9F#FFFFFF#000000##FFFFFF
##682E9F1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#5D4963
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #682e9f;
/* rgb */ color: rgb(104, 46, 159);
/* oklch */ color: oklch(44.1% 0.174 303.4);
Tailwind
colors: {
  custom: {
    50: '#986cbc',
    500: '#682e9f',
    950: '#000000',
  },
}
SCSS
$custom: #682e9f;
$custom-light: #986cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#682e9f",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 270.796,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4408,
    "c": 0.17413,
    "h": 303.4
  },
  "luminance": 0.074
}

Semantic roles & 50–950 ramp

primary
#682E9F
secondary
#93BE6B
accent
#DE4992
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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