#684181#684181

#684181 is a dark, moderate violet. Relative luminance 0.083; OKLCH L 44.9% C 0.109 H 310.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#684181
RGBrgb(104, 65, 129)
HSLhsl(277, 33%, 38%)
HSVhsv(277, 50%, 51%)
CMYKcmyk(19.4%, 49.6%, 0%, 49.4%)
CIE-LABlab(34.62, 29.55, -29.66)
CIE-LCHlch(34.62, 41.87, 314.90°)
OKLaboklab(44.86% 0.0714 -0.0827)
OKLCHoklch(44.86% 0.109 310.8)
XYZxyz(11.5609, 8.3088, 21.7594)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684181 #5A8141
analogous
#484181 #684181 #81417A
triadic
#684181 #816841 #418168
tetradic
#684181 #814841 #5A8141 #417A81
square
#684181 #814841 #5A8141 #417A81
split-complementary
#684181 #7A8141 #418148
monochromatic
#261830 #472C58 #684181 #8956AA #A57EBE

Accessibility & contrast

On white

7.89
#684181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#684181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684181
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684181#FFFFFF#000000##FFFFFF
##6841811.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324F83
Deuteranopia (green-blind)
#3D527F
Tritanopia (blue-blind)
#654B5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #684181;
/* rgb */ color: rgb(104, 65, 129);
/* oklch */ color: oklch(44.9% 0.109 310.8);
Tailwind
colors: {
  custom: {
    50: '#9577a6',
    500: '#684181',
    950: '#000000',
  },
}
SCSS
$custom: #684181;
$custom-light: #9577a6;
$custom-dark: #000000;
JSON
{
  "hex": "#684181",
  "rgb": {
    "r": 104,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 276.563,
    "s": 32.99,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44855,
    "c": 0.10924,
    "h": 310.8
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#684181
secondary
#89A975
accent
#C95F88
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #684181

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

Preview Lab → · Contrast checker → · Palette generator →

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