#682E88#682E88

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

Color values

HEX#682E88
RGBrgb(104, 46, 136)
HSLhsl(279, 49%, 36%)
HSVhsv(279, 66%, 53%)
CMYKcmyk(23.5%, 66.2%, 0%, 46.7%)
CIE-LABlab(31.06, 41.79, -39.67)
CIE-LCHlch(31.06, 57.62, 316.49°)
OKLaboklab(42.38% 0.0983 -0.1118)
OKLCHoklch(42.38% 0.149 311.3)
XYZxyz(11.1290, 6.6749, 23.9899)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E88 #4E882E
analogous
#3B2E88 #682E88 #882E7B
triadic
#682E88 #88682E #2E8868
tetradic
#682E88 #883B2E #4E882E #2E7B88
square
#682E88 #883B2E #4E882E #2E7B88
split-complementary
#682E88 #7B882E #2E883B
monochromatic
#220F2D #451F5A #682E88 #8B3DB6 #A765CB

Accessibility & contrast

On white

8.99
#682E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682E88
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E88#FFFFFF#000000##FFFFFF
##682E881.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#254A86
Tritanopia (blue-blind)
#644057
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682e88;
/* rgb */ color: rgb(104, 46, 136);
/* oklch */ color: oklch(42.4% 0.149 311.3);
Tailwind
colors: {
  custom: {
    50: '#966bab',
    500: '#682e88',
    950: '#000000',
  },
}
SCSS
$custom: #682e88;
$custom-light: #966bab;
$custom-dark: #000000;
JSON
{
  "hex": "#682e88",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 278.667,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42378,
    "c": 0.14888,
    "h": 311.3
  },
  "luminance": 0.06675
}

Semantic roles & 50–950 ramp

primary
#682E88
secondary
#7DB260
accent
#D94F80
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #682E88

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

Preview Lab → · Contrast checker → · Palette generator →

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