#682E89#682E89

#682E89 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.4% C 0.150 H 310.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#682E89
RGBrgb(104, 46, 137)
HSLhsl(278, 50%, 36%)
HSVhsv(278, 66%, 54%)
CMYKcmyk(24.1%, 66.4%, 0%, 46.3%)
CIE-LABlab(31.12, 42.02, -40.18)
CIE-LCHlch(31.12, 58.14, 316.28°)
OKLaboklab(42.45% 0.0983 -0.1133)
OKLCHoklch(42.45% 0.15 310.9)
XYZxyz(11.2004, 6.7034, 24.3659)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E89 #4F892E
analogous
#3A2E89 #682E89 #892E7C
triadic
#682E89 #89682E #2E8968
tetradic
#682E89 #893A2E #4F892E #2E7C89
square
#682E89 #893A2E #4F892E #2E7C89
split-complementary
#682E89 #7C892E #2E893A
monochromatic
#220F2D #451F5B #682E89 #8B3DB7 #A766CC

Accessibility & contrast

On white

8.97
#682E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#682E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682E89
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E89#FFFFFF#000000##FFFFFF
##682E891.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#244A87
Tritanopia (blue-blind)
#644057
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682e89;
/* rgb */ color: rgb(104, 46, 137);
/* oklch */ color: oklch(42.4% 0.150 310.9);
Tailwind
colors: {
  custom: {
    50: '#966bac',
    500: '#682e89',
    950: '#000000',
  },
}
SCSS
$custom: #682e89;
$custom-light: #966bac;
$custom-dark: #000000;
JSON
{
  "hex": "#682e89",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 278.242,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42447,
    "c": 0.14998,
    "h": 310.9
  },
  "luminance": 0.06703
}

Semantic roles & 50–950 ramp

primary
#682E89
secondary
#7EB260
accent
#D94F81
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #682E89

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

Preview Lab → · Contrast checker → · Palette generator →

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