#682789#682789

#682789 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.160 H 311.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#682789
RGBrgb(104, 39, 137)
HSLhsl(280, 56%, 35%)
HSVhsv(280, 72%, 54%)
CMYKcmyk(24.1%, 71.5%, 0%, 46.3%)
CIE-LABlab(29.91, 45.39, -42.12)
CIE-LCHlch(29.91, 61.92, 317.13°)
OKLaboklab(41.58% 0.1065 -0.119)
OKLCHoklch(41.58% 0.16 311.8)
XYZxyz(10.9490, 6.2005, 24.2821)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682789 #488927
analogous
#372789 #682789 #892779
triadic
#682789 #896827 #278968
tetradic
#682789 #893727 #488927 #277989
square
#682789 #893727 #488927 #277989
split-complementary
#682789 #798927 #278937
monochromatic
#200C2A #441959 #682789 #8C35B9 #A85AD0

Accessibility & contrast

On white

9.38
#682789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#682789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682789
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682789#FFFFFF#000000##FFFFFF
##6827891.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#1B4887
Tritanopia (blue-blind)
#643C55
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682789;
/* rgb */ color: rgb(104, 39, 137);
/* oklch */ color: oklch(41.6% 0.160 311.8);
Tailwind
colors: {
  custom: {
    50: '#9767ac',
    500: '#682789',
    950: '#000000',
  },
}
SCSS
$custom: #682789;
$custom-light: #9767ac;
$custom-dark: #000000;
JSON
{
  "hex": "#682789",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 279.796,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4158,
    "c": 0.1597,
    "h": 311.8
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#682789
secondary
#76B557
accent
#DF497B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682789

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

Preview Lab → · Contrast checker → · Palette generator →

#682789 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva