#684381#684381

#684381 is a mid, moderate violet. Relative luminance 0.085; OKLCH L 45.2% C 0.106 H 310.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#684381
RGBrgb(104, 67, 129)
HSLhsl(276, 32%, 38%)
HSVhsv(276, 48%, 51%)
CMYKcmyk(19.4%, 48.1%, 0%, 49.4%)
CIE-LABlab(35.09, 28.36, -28.92)
CIE-LCHlch(35.09, 40.50, 314.44°)
OKLaboklab(45.21% 0.0683 -0.0805)
OKLCHoklch(45.21% 0.106 310.3)
XYZxyz(11.6778, 8.5425, 21.7983)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684381 #5C8143
analogous
#494381 #684381 #81437B
triadic
#684381 #816843 #438168
tetradic
#684381 #814943 #5C8143 #437B81
square
#684381 #814943 #5C8143 #437B81
split-complementary
#684381 #7B8143 #438149
monochromatic
#271930 #482E59 #684381 #8859A9 #A581BE

Accessibility & contrast

On white

7.75
#684381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#684381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684381
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684381#FFFFFF#000000##FFFFFF
##6843811.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355183
Deuteranopia (green-blind)
#3F537F
Tritanopia (blue-blind)
#654D5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #684381;
/* rgb */ color: rgb(104, 67, 129);
/* oklch */ color: oklch(45.2% 0.106 310.3);
Tailwind
colors: {
  custom: {
    50: '#9478a6',
    500: '#684381',
    950: '#000000',
  },
}
SCSS
$custom: #684381;
$custom-light: #9478a6;
$custom-dark: #000000;
JSON
{
  "hex": "#684381",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 275.806,
    "s": 31.633,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45206,
    "c": 0.10563,
    "h": 310.3
  },
  "luminance": 0.08542
}

Semantic roles & 50–950 ramp

primary
#684381
secondary
#8BA977
accent
#C8608A
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D090F
muted
#7E7B7F

Preview Lab

Preview with #684381

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

Preview Lab → · Contrast checker → · Palette generator →

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