#682889#682889

#682889 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.158 H 311.7°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#682889
RGBrgb(104, 40, 137)
HSLhsl(280, 55%, 35%)
HSVhsv(280, 71%, 54%)
CMYKcmyk(24.1%, 70.8%, 0%, 46.3%)
CIE-LABlab(30.08, 44.92, -41.86)
CIE-LCHlch(30.08, 61.40, 317.02°)
OKLaboklab(41.7% 0.1054 -0.1182)
OKLCHoklch(41.7% 0.158 311.7)
XYZxyz(10.9822, 6.2671, 24.2932)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682889 #498928
analogous
#382889 #682889 #892879
triadic
#682889 #896828 #288968
tetradic
#682889 #893828 #498928 #287989
square
#682889 #893828 #498928 #287989
split-complementary
#682889 #798928 #288938
monochromatic
#200C2A #441A5A #682889 #8C36B8 #A85CCF

Accessibility & contrast

On white

9.32
#682889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#682889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682889
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682889#FFFFFF#000000##FFFFFF
##6828891.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#1D4887
Tritanopia (blue-blind)
#643C55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682889;
/* rgb */ color: rgb(104, 40, 137);
/* oklch */ color: oklch(41.7% 0.158 311.7);
Tailwind
colors: {
  custom: {
    50: '#9767ac',
    500: '#682889',
    950: '#000000',
  },
}
SCSS
$custom: #682889;
$custom-light: #9767ac;
$custom-dark: #000000;
JSON
{
  "hex": "#682889",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 279.588,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41697,
    "c": 0.15837,
    "h": 311.7
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#682889
secondary
#78B558
accent
#DE4A7C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682889

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

Preview Lab → · Contrast checker → · Palette generator →

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