#682989#682989

#682989 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.157 H 311.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#682989
RGBrgb(104, 41, 137)
HSLhsl(279, 54%, 35%)
HSVhsv(279, 70%, 54%)
CMYKcmyk(24.1%, 70.1%, 0%, 46.3%)
CIE-LABlab(30.24, 44.46, -41.59)
CIE-LCHlch(30.24, 60.88, 316.91°)
OKLaboklab(41.82% 0.1043 -0.1174)
OKLCHoklch(41.82% 0.157 311.6)
XYZxyz(11.0164, 6.3354, 24.3046)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682989 #4A8929
analogous
#382989 #682989 #89297A
triadic
#682989 #896829 #298968
tetradic
#682989 #893829 #4A8929 #297A89
square
#682989 #893829 #4A8929 #297A89
split-complementary
#682989 #7A8929 #298938
monochromatic
#200D2B #441B5A #682989 #8C37B8 #A85ECF

Accessibility & contrast

On white

9.26
#682989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#682989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682989
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682989#FFFFFF#000000##FFFFFF
##6829891.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682989;
/* rgb */ color: rgb(104, 41, 137);
/* oklch */ color: oklch(41.8% 0.157 311.6);
Tailwind
colors: {
  custom: {
    50: '#9768ac',
    500: '#682989',
    950: '#000000',
  },
}
SCSS
$custom: #682989;
$custom-light: #9768ac;
$custom-dark: #000000;
JSON
{
  "hex": "#682989",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 279.375,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41816,
    "c": 0.15703,
    "h": 311.6
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#682989
secondary
#79B45A
accent
#DD4A7D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682989

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

Preview Lab → · Contrast checker → · Palette generator →

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