#682D89#682D89

#682D89 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.151 H 311.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#682D89
RGBrgb(104, 45, 137)
HSLhsl(278, 51%, 36%)
HSVhsv(278, 67%, 54%)
CMYKcmyk(24.1%, 67.2%, 0%, 46.3%)
CIE-LABlab(30.94, 42.52, -40.47)
CIE-LCHlch(30.94, 58.70, 316.42°)
OKLaboklab(42.32% 0.0995 -0.1141)
OKLCHoklch(42.32% 0.151 311.1)
XYZxyz(11.1618, 6.6262, 24.3531)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682D89 #4E892D
analogous
#3A2D89 #682D89 #892D7C
triadic
#682D89 #89682D #2D8968
tetradic
#682D89 #893A2D #4E892D #2D7C89
square
#682D89 #893A2D #4E892D #2D7C89
split-complementary
#682D89 #7C892D #2D893A
monochromatic
#220F2D #451E5B #682D89 #8B3CB7 #A764CC

Accessibility & contrast

On white

9.03
#682D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#682D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682D89
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682D89#FFFFFF#000000##FFFFFF
##682D891.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682d89;
/* rgb */ color: rgb(104, 45, 137);
/* oklch */ color: oklch(42.3% 0.151 311.1);
Tailwind
colors: {
  custom: {
    50: '#966aac',
    500: '#682d89',
    950: '#000000',
  },
}
SCSS
$custom: #682d89;
$custom-light: #966aac;
$custom-dark: #000000;
JSON
{
  "hex": "#682d89",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 278.478,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42317,
    "c": 0.15143,
    "h": 311.1
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#682D89
secondary
#7DB35F
accent
#DA4E80
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #682D89

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

Preview Lab → · Contrast checker → · Palette generator →

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